DatumEntry

class geodetic_engine.catalog.DatumEntry[source]

Bases: LocatedEntry

A datum or datum ensemble the active database holds.

Listed by datums().

kind

Geodetic, vertical or engineering.

ellipsoid

The ellipsoid of a geodetic datum; None otherwise.

prime_meridian

The prime meridian of a geodetic datum; None otherwise.

frame_reference_epoch

The reference epoch of a dynamic reference frame, as a decimal year; None for a static one.

ensemble_accuracy

The accuracy, in metres, of a datum ensemble; None for a single datum.

members

The member datums of an ensemble, in order; empty for a single datum.

publication_date

When the datum was published, as the database states it, or None.

property is_ensemble: bool

Whether this is a datum ensemble, such as WGS 84 or ETRS89.

property is_dynamic: bool

Whether this is a dynamic reference frame, with a reference epoch.

property projjson_type: str

"GeodeticReferenceFrame", "DatumEnsemble" and so on.

to_json_dict()[source]

The datum’s full PROJJSON, exactly as PROJ exports it.

Return type:

dict[str, Any]

Example

>>> from geodetic_engine import catalog
>>> catalog.datums(code="EPSG:6258").one().to_json_dict()["type"]
'DatumEnsemble'
__init__(*, auth_name, code, name, deprecated, aliases=(), replaced_by=(), areas_of_use=(), kind, ellipsoid=None, prime_meridian=None, frame_reference_epoch=None, ensemble_accuracy=None, members=(), publication_date=None)