mapchete.errors module

Errors and Warnings.

exception mapchete.errors.GeometryTypeError

Bases: TypeError

Raised when geometry type does not fit.

exception mapchete.errors.JobCancelledError

Bases: Exception

Raised when Job gets cancelled.

exception mapchete.errors.MapcheteConfigError

Bases: ValueError

Raised when a mapchete process configuration is invalid.

exception mapchete.errors.MapcheteDriverError

Bases: Exception

Raised on input or output driver errors.

exception mapchete.errors.MapcheteEmptyInputTile

Bases: Exception

Generic exception raised by a driver if input tile is empty.

exception mapchete.errors.MapcheteIOError

Bases: OSError

Raised when mapchete cannot read a file.

exception mapchete.errors.MapcheteNodataTile

Bases: Exception

Indicates an empty tile.

exception mapchete.errors.MapcheteProcessException

Bases: Exception

Raised when a mapchete process execution fails.

exception mapchete.errors.MapcheteProcessImportError

Bases: ImportError

Raised when a module of a mapchete process cannot be imported.

exception mapchete.errors.MapcheteProcessOutputError

Bases: ValueError

Raised when a mapchete process output is invalid.

exception mapchete.errors.MapcheteProcessSyntaxError

Bases: SyntaxError

Raised when mapchete process file cannot be imported.

exception mapchete.errors.MapcheteTaskFailed

Bases: Exception

Raised when a task fails.

exception mapchete.errors.NoGeoError

Bases: AttributeError

Raised when object does not contain geographic information.

exception mapchete.errors.NoTaskGeometry

Bases: TypeError

Raised when Task has no assigned geo information.

exception mapchete.errors.ReprojectionFailed

Bases: RuntimeError

Raised when geometry cannot be reprojected.