Changeset 2979 for TI02-CSML/trunk
- Timestamp:
- 02/11/07 09:41:56 (13 years ago)
- Location:
- TI02-CSML/trunk/csml/API
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TI02-CSML/trunk/csml/API/ops_AbstractFeature.py
r2863 r2979 29 29 30 30 def getBoundingBox(self): 31 return None 32 33 def getCSMLBoundingBox(self): 34 #returns a complete boundingBox object including temporal domain and crs 35 if hasattr(self, 'boundedBy'): 36 return csml.API.csmlbbox.CSMLBoundingBox(self.boundedBy) 37 else: 38 return None 39 40 def getNativeCRS(self): 41 #returns the crs of the feature 31 42 return None 32 43 -
TI02-CSML/trunk/csml/API/ops_GridSeriesFeature.py
r2898 r2979 20 20 return ['subsetToGridSeries', 'subsetToProfileSeries'] #other operations 21 21 22 def getCSMLBoundingBox(self):23 #returns a complete boundingBox object including temporal domain and crs24 if hasattr(self, 'boundedBy'):25 return csml.API.csmlbbox.CSMLBoundingBox(self.boundedBy)26 else:27 return None28 22 29 23 def getBoundingBox(self): -
TI02-CSML/trunk/csml/API/ops_TrajectoryFeature.py
r2817 r2979 37 37 return self.__getAxis('time') 38 38 39 39 def getNativeCRS(self): 40 #returns the crs of the feature 41 return self.value.trajectoryDomain.srsName 42 40 43 def getDomain(self): 41 44 #returns domain as a dictionary of ordinates {name: [values], ...} … … 70 73 var.name=self.name.CONTENT 71 74 var.units=self.units[0] # hopefully there is just one unit in this list.. 72 73 75 74 76 #create the time axis
Note: See TracChangeset
for help on using the changeset viewer.