RegistryEntry

class geodetic_engine.catalog.RegistryEntry[source]

Bases: CatalogEntry

What every object an authority registers has: its id, name and status.

The base of every catalog entry but GridEntry, since a grid file has no authority code of its own.

auth_name

Authority, for example "EPSG".

code

Code within that authority, as text.

name

Name, as the authority publishes it.

deprecated

Whether the authority has deprecated the object.

aliases

Other names the database records for it, for example "ETRS89" for the European Terrestrial Reference System 1989 ensemble. The name filter matches these too.

replaced_by

"AUTH:CODE" of the objects that replace a deprecated one, when the authority states any.

property authority_code: str

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

property projjson_type: str

The PROJJSON type of the object, for example "ProjectedCRS".

to_json_dict()[source]

The object’s full definition as PROJJSON.

Return type:

dict[str, Any]

to_summary_dict()[source]

The entry as one item of a listing’s JSON.

PROJJSON’s names and value shapes wherever PROJJSON has the property (type, name, id, area, bbox, accuracy), and the facts PROJJSON has no place for (deprecated, replaced_by) beside them. Every item validates against the schema listing_schema() returns.

Return type:

dict[str, Any]

__init__(*, auth_name, code, name, deprecated, aliases=(), replaced_by=())