Changeset 3323 for DPPP


Ignore:
Timestamp:
07/02/08 23:13:21 (12 years ago)
Author:
mkochan
Message:

Changed PointSeriesConvertor? into StationConvertor?

Location:
DPPP/kml/csml2kml/python/csml2kml
Files:
2 moved

Legend:

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

    r3322 r3323  
    1919        return 'Station %s ("%s")' % (self.id, self.desc) 
    2020 
    21 class PointSeriesConvertor: 
     21class StationConvertor: 
    2222    ''' 
    23     Converter from GML+CSML to KML. Contains functionality for converting GML containing a collection of Station elements into KML. 
     23    Converter from GML+CSML to KML. 
     24    Contains functionality for converting GML containing a collection of Station elements into KML. 
    2425    ''' 
    2526     
     
    3738        ''' 
    3839 
    39        def _parseGMLStationsCollection(textGml): 
     40        def _parseGMLStationsCollection(textGml): 
    4041            ''' 
    4142            Parse the GML returned from GeoServer and yield Station objects with info about each station. 
  • DPPP/kml/csml2kml/python/csml2kml/tests/testStationConvertor.py

    r3306 r3323  
    1 from PointSeriesConvertor import PointSeriesConvertor 
     1from StationConvertor import StationConvertor 
    22from cElementTree import ElementTree 
    33 
     
    99 
    1010# Do the conversion 
    11 convertor = PointSeriesConvertor(config, '../../../output/exampleps_stations.2.xml') 
     11convertor = StationConvertor(config, '../../../output/exampleps_stations.2.xml') 
    1212convertor.convert() 
Note: See TracChangeset for help on using the changeset viewer.