Changeset 3760 for TI05-delivery/ows_framework
- Timestamp:
- 04/04/08 12:21:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/service/imps/wms_csmllayer.py
r3749 r3760 51 51 crs=feature.getNativeCRS() 52 52 crss=[self._crscat.getCRS(crs).twoD] 53 if 'EPSG:4326' in crss: 54 crss.append('CRS:84') 55 crss.append('WGS84') 53 56 return title, abstract, dimensions, units, crss 54 57 … … 142 145 if dimval != 'time': 143 146 dimValues[dimval]=float(dimValues[dimval]) 147 else: 148 #remove any trailing Zs from time string 149 if dimValues[dimval] [-1:] in ['Z', 'z']: 150 dimValues[dimval]=dimValues[dimval][:-1] 144 151 if type(self._feature) == csml.parser.GridSeriesFeature: 145 152 randomname= csml.csmllibs.csmlextra.getRandomID() + '.nc'
Note: See TracChangeset
for help on using the changeset viewer.