module documentation

This module houses the GDAL & SRS Exception objects, and the check_err() routine which checks the status code returned by GDAL/OGR methods.
Constant CPLERR​_DICT Undocumented
Constant ERR​_NONE Undocumented
Constant OGRERR​_DICT Undocumented
CPLERR_DICT =

Undocumented

Value
{1: (GDALException, 'AppDefined'),
 2: (GDALException, 'OutOfMemory'),
 3: (GDALException, 'FileIO'),
 4: (GDALException, 'OpenFailed'),
 5: (GDALException, 'IllegalArg'),
 6: (GDALException, 'NotSupported'),
 7: (GDALException, 'AssertionFailed'),
...
ERR_NONE: int =

Undocumented

Value
0
OGRERR_DICT =

Undocumented

Value
{1: (GDALException, 'Not enough data.'),
 2: (GDALException, 'Not enough memory.'),
 3: (GDALException, 'Unsupported geometry type.'),
 4: (GDALException, 'Unsupported operation.'),
 5: (GDALException, 'Corrupt data.'),
 6: (GDALException, 'OGR failure.'),
 7: (SRSException, 'Unsupported SRS.'),
...