DatabaseInfo

class geodetic_engine.catalog.DatabaseInfo[source]

Bases: object

The proj.db that answers listings, identified for provenance.

path

The database listings read: the first proj.db on PROJ’s search path, the one PROJ resolves codes against.

proj_version

The PROJ release this package runs.

metadata

The database’s own metadata table, for example {"EPSG.VERSION": "v12.013", ...}.

fingerprints

SHA-256 of every proj.db on PROJ’s search path, as database_fingerprints records them, so a listing can be tied to the transformations made against the same database.

property epsg_version: str | None

The EPSG dataset version, for example "v12.013".

to_json_dict()[source]

The database as a listing’s JSON records it.

Return type:

dict[str, Any]

__init__(path, proj_version, metadata, fingerprints)