Ignore:
Timestamp:
15/02/08 09:35:59 (12 years ago)
Author:
mkochan
Message:

Fixed bug in Station.py: wrong use of namespace

File:
1 edited

Legend:

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

    r3384 r3428  
    3030        posElement = pointElement.getchildren()[0] 
    3131        (self.lon,self.lat) = map(float, posElement.text.split()) 
    32         self.id = stationElement.get('gml:id') 
     32        self.id = stationElement.get('{http://www.opengis.net/gml}id') 
    3333        self.desc = stationNameElement.text 
    3434        self.csmlFeatureIds = [] 
Note: See TracChangeset for help on using the changeset viewer.