Ignore:
Timestamp:
15/02/08 13:46:52 (12 years ago)
Author:
mkochan
Message:

Added display of multiple CSML features (plots) per station.

File:
1 edited

Legend:

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

    r3363 r3434  
    132132    ''' 
    133133     
    134     def __init__(self, id, name, lon, lat, styleID = None, data=None): 
     134    def __init__(self, id, name, lon, lat, featuresHtml, styleID = None, data=None): 
    135135        self.id = id 
    136136        self.name = name 
    137137        self.lon = lon 
    138138        self.lat = lat 
     139        self.featuresHtml = featuresHtml 
    139140        self.styleID = styleID 
    140141        self.data = data 
     
    167168                value = value.replace('#LON#', str(self.lon)) 
    168169                value = value.replace('#LAT#', str(self.lat)) 
     170                value = value.replace('#FEATS#', self.featuresHtml) 
    169171                SubElement(dataElement, 'value').text = value 
    170  
     172                 
    171173        return placemarkElement 
    172174 
Note: See TracChangeset for help on using the changeset viewer.