This module houses ctypes interfaces for GDAL objects. The following GDAL objects are supported:
Driver: Wraps an OGR data source driver.
OGRGeometry: Object for accessing OGR Geometry functionality.
SpatialReference: Represents OSR Spatial Reference objects.
The GDAL library will be imported from the system path using the default
library name for the current OS. The default library path may be overridden
by setting GDAL_LIBRARY_PATH
in your settings with the path to the GDAL C
library on your system.
Module | base |
Undocumented |
Module | datasource |
DataSource is a wrapper for the OGR Data Source object, which provides an interface for reading vector geometry data from many different file formats (including ESRI shapefiles). |
Module | driver |
Undocumented |
Module | envelope |
No summary |
Module | error |
This module houses the GDAL & SRS Exception objects, and the check_err() routine which checks the status code returned by GDAL/OGR methods. |
Module | feature |
No module docstring; 1/1 class documented |
Module | field |
No module docstring; 0/2 variable, 1/15 class documented |
Module | geometries |
No summary |
Module | geomtype |
Undocumented |
Module | layer |
No module docstring; 1/1 class documented |
Module | libgdal |
No module docstring; 0/8 variable, 1/4 function documented |
Package | prototypes |
No package docstring; 4/6 modules documented |
Package | raster |
No package docstring; 1/4 module documented |
Module | srs |
The Spatial Reference class, represents OGR Spatial Reference objects. |
From __init__.py
:
Class | CoordTransform |
The coordinate system transformation object. |
Class | DataSource |
Wraps an OGR Data Source object. |
Class | Driver |
No summary |
Class | Envelope |
The Envelope object is a C structure that contains the minimum and maximum X, Y coordinates for a rectangle bounding box. The naming of the variables is compatible with the OGR Envelope structure. |
Class | GDALException |
Undocumented |
Class | GDALRaster |
Wrap a raster GDAL Data Source object. |
Class | OGRGeometry |
Encapsulate an OGR geometry. |
Class | OGRGeomType |
Encapsulate OGR Geometry Types. |
Class | SpatialReference |
A wrapper for the OGRSpatialReference object. According to the GDAL web site, the SpatialReference object "provide[s] services to represent coordinate systems (projections and datums) and to transform between them." |
Class | SRSException |
Undocumented |
Constant | GDAL_VERSION |
Undocumented |
Class | AxisOrder |
Undocumented |
Function | check_err |
Check the given CPL/OGRERR and raise an exception where appropriate. |
Function | gdal_full_version |
Return the full GDAL version information. |
Function | gdal_version |
Return only the GDAL version number information. |