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

switch to declare values and axis data (rangeset and domain) to be stored inline or in file extract

File:
1 edited

Legend:

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

    r1398 r1401  
    9595        self.ds = feBuilder.dataset_element 
    9696        self.extractType = feBuilder.extractType 
    97         self.extractPrefix  = feBuilder.extractPrefix 
    9897        self.extractDictionary=feBuilder.fileExtractDictionary 
    9998 
     
    104103    def createFeatures(self): 
    105104        print "create Features" 
    106         thefeatures = csmllibs.csmlfeaturetypes.featureBuilder( self.ds,self.gml_FeatureCollection,self.extractType, self.extractPrefix, self.ffmap, self.extractDictionary,self.timedimension, self.timestorage) 
     105        if not hasattr(self, 'extractType'): 
     106            self.extractType=None 
     107        if not hasattr(self, 'extractDictionary'): 
     108            self.extractDictionary=None 
     109        thefeatures = csmllibs.csmlfeaturetypes.featureBuilder( self.ds,self.gml_FeatureCollection,self.extractType, self.ffmap, self.extractDictionary,self.timedimension, self.timestorage, self.spatialstorage,self.valuestorage) 
    107110        #self.csml = thefeatures.csml 
    108111        self.ds=thefeatures.ds_element 
Note: See TracChangeset for help on using the changeset viewer.