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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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) 
Note: See TracChangeset for help on using the changeset viewer.