ObjectRef

class geodetic_engine.catalog.ObjectRef[source]

Bases: object

Another object in the active database, by authority, code and name.

The form PROJJSON uses for a datum ensemble member or an operation method, and how every entry points at the objects it uses: a CRS at its datums, an operation at its source and target CRS, a datum at its ellipsoid. Any filter that takes a reference, and every code filter, accepts one, so following a reference is one more listing call:

crs = catalog.crs(code="EPSG:25832").one()
catalog.datums(code=crs.datums)
auth_name

Authority, for example "EPSG".

code

Code within that authority, as text.

name

Name of the object.

property authority_code: str

"AUTH:CODE", for example "EPSG:6258".

to_json_dict()[source]

The reference as PROJJSON writes one: name and id.

Return type:

dict[str, Any]

__init__(auth_name, code, name)