1.1.2. GDALLoader

class pyprom.dataload.GDALLoader(filename, epsg_alias='WGS84')[source]
Loads Raster Data from GDAL.
Raster data is made available at self.datamap
__init__(filename, epsg_alias='WGS84')[source]
Parameters
  • filename (str) – full or relative file location.

  • epsg_alias (str) – common name for epsg code

Raises

Exception when not a Projection Map.

latitude and longitude references are always “lower left”
GDAL raster data is always presented as such:
Y: left/right
X: up/down
UL---UR
|     |
LL---LR
The LL corner is always passed to the Datamap Object with a reference
to the Native grid Lower Left corner.