Ignore:
Timestamp:
28/04/06 15:27:42 (14 years ago)
Author:
domlowe
Message:

csmlio - getDomainComplement,getDomainReference linked up with file extracts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/newparser/ioDemo.py

    r859 r864  
    2121#get list of features by name (gml:id): 
    2222featureList = csml.getFeatureList() 
    23 print featureList 
     23#print featureList 
    2424 
    2525#get type of feature (supply feature name) 
     
    2727for i in range(0, len(featureList)): 
    2828    featureType = csml.getFeatureType(featureList[i]) 
    29     print featureType 
     29    #print featureType 
    3030     
    3131     
     
    3333#eg featureType=csml.getFeatureType('feat04') 
    3434 
    35 domainref=csml.getDomainReference('wind') 
    36 print domainref 
     35domainref=csml.getDomainReference('solar_3') 
     36print 'domainref: ' + str(domainref) 
     37domaincomp=csml.getDomainComplement('solar_3') 
     38print 'domaincomp: ' + str(domaincomp) 
     39domain=csml.getDomain('solar_3') 
     40print 'domain: ' + str(domain) 
     41 
    3742sys.exit() 
    3843 
Note: See TracChangeset for help on using the changeset viewer.