geodetic_engine.geojson¶
Coordinate conversion of GeoJSON documents.
convert_geojson() converts every position of an RFC 7946 GeoJSON, OGC
JSON-FG or OSDU AnyCrs GeoJSON document to another CRS, keeping its
structure, id, properties and foreign members. The positions of each
source CRS are transformed in one batch, with the guarantees points have.
Public entry points:
convert_geojson()– convert a document; returns aGeoJsonResult.convert_geojson_request()– the OSDU CRS conversion service’sconvertGeoJson, request in and response out.GeoJsonError– base class of every failure to read a document, naming where in it the problem is.InvalidGeoJsonError,UnsupportedGeoJsonErrorandGeoJsonCrsError– not GeoJSON, not converted yet, and a CRS not stated or stated twice.
Functions¶
Convert every position of a GeoJSON document to another CRS. |
|
Answer a |
Classes¶
A converted GeoJSON document and how it was converted. |
Exceptions¶
The CRS of a document's positions is not stated, or is stated twice. |
|
Base class for all GeoJSON document failures. |
|
The document is not GeoJSON, or not OSDU AnyCrs GeoJSON. |
|
The document is valid, but states something not converted yet. |