Changeset 3564 for DPPP


Ignore:
Timestamp:
07/03/08 11:21:32 (11 years ago)
Author:
mkochan
Message:

Deployed the "csml2kml" package as a development egg. Consequently changed import commands in wms2kml.py.

Location:
DPPP/kml/csml2kml/python/csml2kml
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/csml2kml/python/csml2kml/csml2kml/__init__.py

    r3447 r3564  
    99import QuadTree 
    1010import StationConvertor 
    11  
    12 # import tests -- disabled because we only want to run the tests from command line  
    13 #                 (they are scripts, so would get run by being imported) 
  • DPPP/kml/csml2kml/python/csml2kml/csml2kml/scripts/wms2kml.py

    r3560 r3564  
    1 import getopt 
     1import sys 
    22from cElementTree import ElementTree, XML 
    3 import utils 
    4 from WMSCapabilities import * 
    5 import sys 
     3from csml2kml.utils import wget 
     4from csml2kml.WMSCapabilities import WMSCapabilities, WMSLayersConvertor 
    65 
    76# Get the config file name 
     
    2120wmsRequestConfigElement = configElementTree.getroot().find('WMSRequest') 
    2221wmsCapabilitiesUrl = wmsRequestConfigElement.find('URL').text + '?request=GetCapabilities' 
    23 wmsCapabilitiesElement = XML( utils.wget(wmsCapabilitiesUrl) ) 
     22wmsCapabilitiesElement = XML( wget(wmsCapabilitiesUrl) ) 
    2423wmsCapabilities = WMSCapabilities() 
    2524wmsCapabilities.parseXML(wmsCapabilitiesElement) 
  • DPPP/kml/csml2kml/python/csml2kml/setup.py

    r3447 r3564  
    22 
    33setup(name='csml2kml', 
    4       version='0.2', 
     4      version='0.3.dev', 
    55      packages=find_packages(), 
    66      ) 
Note: See TracChangeset for help on using the changeset viewer.