Ignore:
Timestamp:
21/02/07 12:37:34 (13 years ago)
Author:
domlowe
Message:

ProfileSeriesFeature? mostly working in scanner - location attribute needs finishing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/parser.py

    r2176 r2196  
    679679        csElement.__init__(self,**kwargs) 
    680680 
     681class DirectPositionList(SRSReferenceGroup, csElement): 
     682    def __init__(self, **kwargs): 
     683        SRSReferenceGroup.__init__(self,**kwargs) 
     684        children=[] 
     685        addchildren(self,children) 
     686        csElement.__init__(self,**kwargs) 
     687         
    681688class PointFeature(AbstractFeature, csElement): 
    682689    def __init__(self, **kwargs): 
    683690        AbstractFeature.__init__(self,**kwargs) 
    684         children={'location':[CSML('location'), 'csString'],'time':[CSML('time'), 'csString'], 'value':[CSML('PointCoverage'), 'PointCoverage', CSML('value')], 'parameter':[CSML('parameter'), 'Phenomenon']} 
     691        children={'location':[CSML('location'), 'DirectPositionList'],'time':[CSML('time'), 'csString'], 'value':[CSML('PointCoverage'), 'PointCoverage', CSML('value')], 'parameter':[CSML('parameter'), 'Phenomenon']} 
    685692        addchildren(self,children) 
    686693        csElement.__init__(self,**kwargs) 
Note: See TracChangeset for help on using the changeset viewer.