User guide

Task-oriented guides, one section per module. Each starts with what the module is for, when to use it, and when not to.

Geodesy

geodetic_engine.geodesy: resolve CRSs, list and choose operations, transform coordinates, read provenance, and get the grid convergence and scale factor. The module most users need.

Geodesy
Catalog

geodetic_engine.catalog: find CRSs, transformations, datums, ellipsoids, units, methods, coordinate systems and grid files in the PROJ database, filter them by area, datum, accuracy and more, and export them as a table or PROJJSON.

Catalog
GeoJSON documents

geodetic_engine.geojson: convert RFC 7946 GeoJSON, OGC JSON-FG and OSDU AnyCrs GeoJSON documents to another CRS, as the OSDU convertGeoJson does.

GeoJSON documents
Well trajectories

geodetic_engine.welltrajectory: position a wellbore from its directional survey by minimum curvature, place it in a CRS, and plot it in 3D.

Well trajectories
Seismic bin grids

geodetic_engine.bingrid: convert between bin grid and map grid with P6 parameters, and check, square and convert a four-corner bin grid.

Seismic bin grids
Persistable references

geodetic_engine.persistablereference: read, write and look up the OSDU persistableReference JSON/ESRI-WKT envelope for CRSs, transformations and units. Documented in the Reference section.

Persistable references (OSDU)
Georepository client

geodetic_engine.georepository: an authenticated, paging, caching client for a Georepository geodetic registry.

Georepository client
Custom PROJ database

geodetic_engine.projdb, geodetic_engine.osdudb and their commands: add a Georepository register’s or an OSDU catalogue’s own CRSs and transformations to a copy of PROJ’s proj.db, and use the result.

Custom PROJ database