- Timestamp:
- 04/02/08 18:20:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DPPP/kml/csml2kml/python/csml2kml/tests/testPointSeriesConvertor.py
r3303 r3306 1 import PointSeriesConvertor1 from PointSeriesConvertor import PointSeriesConvertor 2 2 from cElementTree import ElementTree 3 3 4 4 # Load the configuration XML element 5 5 configTree = ElementTree() 6 configTree.parse('../../ testdata/midas.csml2kml.conf.xml')6 configTree.parse('../../../testdata/midas.csml2kml.conf.xml') 7 7 configRoot = configTree.getroot() 8 config = configRoot.find('CSML 2KMLConfig/CSMLStationPointSeries')8 config = configRoot.find('CSMLStationPointSeries') 9 9 10 10 # Do the conversion 11 convertor = PointSeriesConvertor(config, '../../output/exampleps.3.xml') 11 convertor = PointSeriesConvertor(config, '../../../output/exampleps_stations.2.xml') 12 convertor.convert()
Note: See TracChangeset
for help on using the changeset viewer.