Ignore:
Timestamp:
05/03/08 16:26:22 (13 years ago)
Author:
mkochan
Message:

Corrected bug in saving KML files, working on saving KMZ files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/csml2kml/python/csml2kml/csml2kml/tests/testWMSCapabilities.py

    r3549 r3555  
    99wmsRequestConfigElement = configElementTree.getroot().find('WMSRequest') 
    1010 
    11 ###etree = ElementTree() 
    12 ###etree.parse('../../../../testdata/ar4-shortened.xml') 
    13 ###wmsCapabilities = WMSCapabilities() 
    14 ###wmsCapabilitiesElement = etree.getroot() 
    15 ###print wmsCapabilities 
    16  
    1711wmsCapabilitiesUrl = wmsRequestConfigElement.find('URL').text + '?request=GetCapabilities' 
    1812wmsCapabilitiesElement = XML( utils.wget(wmsCapabilitiesUrl) ) 
     
    2115 
    2216wmsLayersConvertor = WMSLayersConvertor( 
    23     wmsCapabilities.topWmsLayer, wmsRequestConfigElement, '../../../../output/wms-obs2', 'http://bond.badc.rl.ac.uk' 
     17    wmsCapabilities.topWmsLayer, wmsRequestConfigElement, '../../../../output/wms-obs2', 'http://bond.badc.rl.ac.uk:8089' 
    2418    ) 
    2519wmsLayersConvertor.convert() 
Note: See TracChangeset for help on using the changeset viewer.