Package eoxserver :: Package resources :: Package coverages :: Module geo
[hide private]
[frames] | no frames]

Module geo

source code

This module supports reading of geospatial metadata from GDAL datasets.
Classes [hide private]
  GeospatialMetadata
This class wraps geospatial metadata retrieved from a GDAL dataset.
Functions [hide private]
 
getExtentFromRectifiedDS(ds, eps=1e-06)
Calculates the extent tuple of the given gdal.Dataset.
source code
 
getExtentFromReferenceableDS(ds)
Calculates the extent tuple of the given gdal.Dataset.
source code
Variables [hide private]
  logger = logging.getLogger(__name__)
  __package__ = 'eoxserver.resources.coverages'
Function Details [hide private]

getExtentFromRectifiedDS(ds, eps=1e-06)

source code 
Calculates the extent tuple of the given gdal.Dataset. The dataset must be rectified, i.e. projected to a recognized CRS, and the geocoding must be encoded by the GDAL's Geo-Transformation matrix. The ``eps`` parameter is the relative threshold for non-zero values of non-diagonal terms of the GDAL's Geo-Transformation matrix.

getExtentFromReferenceableDS(ds)

source code 
Calculates the extent tuple of the given gdal.Dataset. The dataset must be encoded using the tie-points.