GeometryError

exception geodetic_engine.geodesy.GeometryError[source]

Bases: GeodesyError, ValueError

A geometry could not be read or written in the encoding asked for.

For example WKT that does not parse, a curved geometry, which this package cannot transform, an SRID that names a different CRS than the one the geometry is transformed from, or EWKB asked for in a CRS without an integer code to write as its SRID. Failures transforming the coordinates themselves are TransformationFailedError.

__init__(*args, **kwargs)