Ignore:
Timestamp:
10/08/06 15:23:02 (13 years ago)
Author:
domlowe
Message:

propagating additional args/configs through Scanner code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/Scanner/csmlscan.py

    r1379 r1380  
    108108    MAPPING=None 
    109109    TIMEDIMENSION=None 
     110    TIMESTORAGE='inline' 
     111    VALUESTORAGE='fileextract' 
     112    SPATIALSTORAGE='fileextract' 
     113     
    110114    #... 
    111115    if hasConfig == True: 
     
    119123        SRSNAME = config.getConfigNoError('SpatialReference', 'srs') 
    120124        TIMEDIMENSION=config.getConfigNoError('time','timedimension') 
     125        TIMESTORAGE=config.getConfigNoError('time','timestorage') 
     126        VALUESTORAGE=config.getConfigNoError('values','valuestorage') 
     127        SPATIALSTORAGE=config.getConfigNoError('spatialaxes','spatialstorage') 
    121128         
    122129        if configTest==True: 
     
    133140            print '\n SpatialReference:srs =%s'%SRSNAME 
    134141            print '\n time:timedimension =%s'%TIMEDIMENSION 
     142            print '\n time:timestorage =%s'%TIMESTORAGE 
     143            print '\n spatialaxes:spatialstorage =%s'%SPATIALSTORAGE 
     144            print '\n values:valuestorage =%s'%VALUESTORAGE 
    135145            sys.exit() 
    136146     
     
    172182    #build CSML document 
    173183    print ROOTDIRECTORY 
    174     csmldataset=csmllibs.csmlbuilder.csmlBuilder(ROOTDIRECTORY,FEATURETYPE,MAPPING,TIMEDIMENSION, OUTPUTFILE, PRINTSCREEN) 
     184    csmldataset=csmllibs.csmlbuilder.csmlBuilder(ROOTDIRECTORY,FEATURETYPE,MAPPING,TIMEDIMENSION, OUTPUTFILE, PRINTSCREEN,TIMESTORAGE,SPATIALSTORAGE,VALUESTORAGE) 
    175185    csmldataset.build() 
    176186 
Note: See TracChangeset for help on using the changeset viewer.