package documentation

This module houses ctypes interfaces for GDAL objects. The following GDAL objects are supported:

CoordTransform: Used for coordinate transformations from one spatial
reference system to another.

Driver: Wraps an OGR data source driver.

DataSource: Wrapper for the OGR data source object, supports
OGR-supported data sources.
Envelope: A ctypes structure for bounding boxes (GDAL library
not required).

OGRGeometry: Object for accessing OGR Geometry functionality.

OGRGeomType: A class for representing the different OGR Geometry
types (GDAL library not required).

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 ​Coord​Transform The coordinate system transformation object.
Class ​Data​Source 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 ​OGRGeom​Type Encapsulate OGR Geometry Types.
Class ​Spatial​Reference 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 ​Axis​Order 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.
def check_err(code, cpl=False):
Check the given CPL/OGRERR and raise an exception where appropriate.
GDAL_VERSION =

Undocumented

Value
gdal_version_info()
def gdal_full_version():
Return the full GDAL version information.
def gdal_version():
Return only the GDAL version number information.