source: DPPP/kml/csml2kml/python/csml2kml/csml2kml/tests/testWMSCapabilities.py @ 3506

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/DPPP/kml/csml2kml/python/csml2kml/csml2kml/tests/testWMSCapabilities.py@3506
Revision 3506, 571 bytes checked in by mkochan, 13 years ago (diff)

In the middle of debugging of classes in WMSCapabilities.py.

Line 
1from cElementTree import ElementTree
2
3import utils
4from WMSCapabilities import *
5
6etree = ElementTree()
7etree.parse('../../../../testdata/ar4-shortened.xml')
8wmsCapabilities = WMSCapabilities()
9wmsCapabilitiesElement = etree.getroot()
10
11wmsCapabilities.parseXML(wmsCapabilitiesElement)
12###print wmsCapabilities
13###print
14
15etree2 = ElementTree()
16etree2.parse('../../../../testdata/ar4.conf.xml')
17wmsRequestConfigElement = etree2.getroot()
18
19wmsLayersConvertor = WMSLayersConvertor(wmsCapabilities.topWmsLayer, None, '../../../../output/wms-ar4')
20wmsLayersConvertor.convert()
Note: See TracBrowser for help on using the repository browser.