Changeset 1874


Ignore:
Timestamp:
15/12/06 11:58:08 (13 years ago)
Author:
domlowe
Message:

added RaggedProfileSeries feature

Location:
TI02-CSML/branches/CSML2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/branches/CSML2/csParser.py

    r1873 r1874  
    575575    def __init__(self,**kwargs): 
    576576        AbstractFeatureCollection.__init__(self,**kwargs) 
    577         children={'members':[[CSML('GridFeature'), CSML('GridSeriesFeature'),CSML('PointFeature'),CSML('ProfileFeature'),CSML('ProfileSeriesFeature'),CSML('PointSeriesFeature'),CSML('AlternatePointFeature')], 'AbstractFeature', GML('featureMembers')]} 
     577        children={'members':[[CSML('GridFeature'), CSML('GridSeriesFeature'),CSML('PointFeature'),CSML('ProfileFeature'),CSML('ProfileSeriesFeature'),CSML('RaggedProfileSeriesFeature'),CSML('PointSeriesFeature'),CSML('AlternatePointFeature')], 'AbstractFeature', GML('featureMembers')]} 
    578578        addchildren(self,children) 
    579579    def _getSubstitutionType(self,tag): 
     
    590590        elif tag==CSML('ProfileSeriesFeature'): 
    591591            return 'ProfileSeriesFeature' 
     592        elif tag==CSML('RaggedProfileSeriesFeature'): 
     593            return 'RaggedProfileSeriesFeature' 
    592594        elif tag==CSML('AlternatePointFeature'): 
    593595            return 'AlternatePointFeature' 
     
    604606        elif typename == 'ProfileSeriesFeature': 
    605607            return CSML('ProfileSeriesFeature') 
     608        elif typename == 'RaggedProfileSeriesFeature': 
     609            return CSML('RaggedProfileSeriesFeature') 
    606610        elif typename == 'PointFeature': 
    607611            return CSML('PointFeature') 
  • TI02-CSML/branches/CSML2/test.xml

    r1873 r1874  
    352352            </parameter> 
    353353        </ProfileFeature>         
    354         --> 
    355354        <ProfileSeriesFeature> 
    356355            <value> 
     
    379378            </parameter> 
    380379        </ProfileSeriesFeature> 
     380        --> 
     381        <RaggedProfileSeriesFeature gml:id="ID001"> 
     382            <profileLength>2147483647 2147483647 2147483647 2147483647 2147483647 2147483647 2147483647 2147483647 2147483647</profileLength> 
     383            <value> 
     384                <ProfileSeriesCoverage gml:id="ID003"> 
     385                    <profileSeriesDomain> 
     386                        <ProfileSeriesDomain gml:id="ID005"> 
     387                        </ProfileSeriesDomain> 
     388                    </profileSeriesDomain> 
     389                    <gml:rangeSet> 
     390                        <gml:File> 
     391                            <gml:rangeParameters> 
     392                            </gml:rangeParameters> 
     393                            <gml:fileReference>http://www.oxygenxml.com/</gml:fileReference> 
     394                            <gml:fileStructure>Record Interleaved</gml:fileStructure> 
     395                        </gml:File> 
     396                    </gml:rangeSet> 
     397                </ProfileSeriesCoverage> 
     398            </value> 
     399            <parameter> 
     400            </parameter> 
     401</RaggedProfileSeriesFeature> 
    381402        </gml:featureMembers> 
    382403        </gml:FeatureCollection> 
Note: See TracChangeset for help on using the changeset viewer.