Changeset 3712


Ignore:
Timestamp:
01/04/08 10:51:44 (11 years ago)
Author:
mkochan
Message:

Switched longitude and latitude in Station.py due to requirement change.

File:
1 edited

Legend:

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

    r3693 r3712  
    4747        ''' 
    4848 
    49         # Extract the identifier, short description, and longitude and latitute 
     49        # Extract the identifier, short description, and latitude and longitude (the last two in that order) 
    5050        (stationNameElement, stationIDElement, locationElement, stationFeaturesElement) = stationElement.getchildren() 
    5151        pointElement = locationElement.getchildren()[0] 
    5252        posElement = pointElement.getchildren()[0] 
    53         (self.lon,self.lat) = map(float, posElement.text.split()) 
     53        (self.lat,self.lon) = map(float, posElement.text.split()) 
    5454        self.id = stationElement.get('{http://www.opengis.net/gml}id') 
    5555        self.desc = stationNameElement.text 
Note: See TracChangeset for help on using the changeset viewer.