Exceptions#

Exceptions used in the package.

Design goal: - Provide a small, well-defined hierarchy so users can either catch one base class or handle specific subclasses.

exception weitsicht.exceptions.WeitsichtError[source]#

Bases: Exception

Base exception for the weitsicht package.

exception weitsicht.exceptions.NotGeoreferencedError[source]#

Bases: WeitsichtError

No valid georeference is provided for images

exception weitsicht.exceptions.CRSInputError[source]#

Bases: WeitsichtError, ValueError

Invalid CRS/transformer input was provided.

exception weitsicht.exceptions.CRSnoZaxisError[source]#

Bases: CRSInputError

CRS does not define a vertical (Z) axis.

exception weitsicht.exceptions.CoordinateTransformationError[source]#

Bases: WeitsichtError

Coordinate Conversion is not possible

exception weitsicht.exceptions.MappingError[source]#

Bases: WeitsichtError

Mapping of the geometry was not possible

exception weitsicht.exceptions.MappingBackendError[source]#

Bases: MappingError

A mapping backend raised an unexpected/foreign exception.

exception weitsicht.exceptions.MapperMissingError[source]#

Bases: MappingError

No valid mapper is provided for image mapping functions