Changeset 1979 for TI02-CSML


Ignore:
Timestamp:
09/01/07 13:08:23 (13 years ago)
Author:
domlowe
Message:

removing obsolete axisList class

Location:
TI02-CSML/trunk/csml/csmllibs
Files:
3 edited

Legend:

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

    r1521 r1979  
    1111import csmlfiles 
    1212import csmlfeaturewrap 
     13import csmlcrs 
    1314 
  • TI02-CSML/trunk/csml/csmllibs/csmlcrs.py

    r1978 r1979  
    179179    #crs=cat.getCRS('ndg:crs:xypt') 
    180180    #print 'returns %s'%crs.srsName 
    181      
    182      
    183      
    184      
    185      
     181        
    186182     
    187183if __name__=="__main__": 
  • TI02-CSML/trunk/csml/csmllibs/csmlfeaturetypes.py

    r1902 r1979  
    1010import csml.csmllibs 
    1111import sys 
    12  
    13 class axisList(object): 
    14     #utitily class to store the relationships between CSML dimensions and grid axes. 
    15     #not used yet 
    16     def __init__(self): 
    17         self.dims={} 
    18      
    19     def addDim(self, dimName, axisLabel, axesSpanned): 
    20         if type(axesSpanned) is not list: 
    21             axesSpanned=[axesSpanned] 
    22         self.dims[dimName]=[axisLabel, axesSpanned] 
    23      
    24     def getAxisLabel(self, dimName): 
    25         return self.dims[dimName][0] 
    26      
    27     def getAxesSpanned(self, dimName): 
    28         return self.dims[dimName][1] 
    29      
     12    
    3013 
    3114class featureBuilder(object): 
Note: See TracChangeset for help on using the changeset viewer.