Changeset 1981
- Timestamp:
- 09/01/07 15:33:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI02-CSML/trunk/csml/csmllibs/csmlfeaturetypes.py
r1980 r1981 125 125 gsDomain=cp.GridSeriesDomain() 126 126 gsDomain.srsName=crs.srsName 127 gsDomain.axisLabels=crs.axisLabels # note this is the xml attribute axisLabels, not the child element (aLabels) 127 128 gsDomain.srsDimension=crs.srsDimension 128 gsDomain.axisLabels=crs.axisLabels # note this is the xml attribute axisLabels, not the child element (aLabels)129 129 gsDomain.aLabels=cp.csString('blah') 130 130 gcT=cp.GridCoordinatesTable() 131 131 #add an axisName element(s) for each spatial dimension. 132 132 #and an ordinate element 133 #axes=' ' 134 #for j in range (len(dimNames)): 135 #j=j+1 136 #axisname ='dim'+str(j) 137 #axes =axes + axisname + ' ' 138 #gsDomain.axisLabels=cp.csString(axes) 133 axes='' 134 for axis in dimNames: 135 axes =axes + ' '+ axis 136 gsDomain.axisLabels=cp.csString(axes) 139 137 ordinates=[] 140 138 for dimName in enumerate(dimNames):
Note: See TracChangeset
for help on using the changeset viewer.