API reference

Every name listed here is part of the public API: it is in its subpackage’s __all__ and can be imported from the subpackage directly, for example from geodetic_engine.geodesy import transform. The top-level geodetic_engine package exports nothing but __version__.

Subpackage

Purpose

geodetic_engine.geodesy

Transform coordinates, choose operations, read provenance, and evaluate projection factors.

geodetic_engine.geodesy.utils

Helmert algebra and abridged-Molodensky helpers.

geodetic_engine.geodesy.geometry

Read, write, round and transform geometries: WKT, WKB, EWKB, GeoJSON and Esri JSON.

geodetic_engine.catalog

List and filter the CRSs, operations, datums, ellipsoids, units, methods, coordinate systems and grids the PROJ database holds.

geodetic_engine.geojson

Convert GeoJSON, OGC JSON-FG and OSDU AnyCrs GeoJSON documents to another CRS.

geodetic_engine.welltrajectory

Well trajectories from directional surveys: minimum curvature, georeferencing in a CRS, 3D plots.

geodetic_engine.persistablereference

Read and write OSDU persistableReference definitions.

geodetic_engine.units

Read length and angle units from symbols, OSDU unit ids and unit persistableReferences.

geodetic_engine.georepository

OAuth2 client for the Georepository geodetic registry API.

geodetic_engine.projdb

Build an enriched proj.db from a Georepository instance.

geodetic_engine.osdudb

Build an enriched proj.db from an OSDU catalogue.

geodetic_engine.bingrid

Seismic bin grids: P6 parameters, four-corner squaring, conversion.

geodetic_engine.bingrid.matching

Assign a legacy dataset to a bin grid that is already stored.

geodetic_engine.errors

The root of every exception the package raises.