Changeset 1127
- Timestamp:
- 07/29/08 08:21:23
- Files:
-
- OWSLib/trunk/owslib/coverage/wcs110.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OWSLib/trunk/owslib/coverage/wcs110.py
r1117 r1127 78 78 top=None 79 79 for elem in self._capabilities.findall('{http://www.opengis.net/wcs/1.1}Contents/{http://www.opengis.net/wcs/1.1}CoverageSummary'): 80 cm=ContentMetadata(elem, top )80 cm=ContentMetadata(elem, top, self) 81 81 #make the describeCoverage requests to populate the supported formats/crs attributes 82 82 self.contents[cm.id]=cm … … 337 337 self.supportedFormats.append(format.text) 338 338 339 339 340 #grid is either a gml:Grid or a gml:RectifiedGrid if supplied as part of the DescribeCoverage response. 341 def _getGrid(self): 342 grid=None 343 #TODO- convert this to 1.1 from 1.0 344 #if not hasattr(self, 'descCov'): 345 #self.descCov=self._service.getDescribeCoverage(self.id) 346 #gridelem= self.descCov.find(ns('CoverageOffering/')+ns('domainSet/')+ns('spatialDomain/')+'{http://www.opengis.net/gml}RectifiedGrid') 347 #if gridelem is not None: 348 #grid=RectifiedGrid(gridelem) 349 #else: 350 #gridelem=self.descCov.find(ns('CoverageOffering/')+ns('domainSet/')+ns('spatialDomain/')+'{http://www.opengis.net/gml}Grid') 351 #grid=Grid(gridelem) 352 return grid 353 grid=property(_getGrid, None) 354 355 356 340 357 #time limits/postions require a describeCoverage request therefore only resolve when requested 341 358 def _getTimeLimits(self):
