AxisSpec

class geodetic_engine.geodesy.AxisSpec[source]

Bases: object

One axis of a CRS, exactly as the EPSG dataset declares it.

name

Full axis name, for example "Geodetic latitude".

abbrev

Axis abbreviation, for example "Lat".

direction

Positive direction, for example "north".

unit_name

Name of the axis unit, for example "degree".

unit_code

Authority code of the unit, for example "9122".

unit_conversion_factor

Multiplier from this unit to the SI unit of the same quantity (radians for angles, metres for lengths).

__init__(name, abbrev, direction, unit_name, unit_code, unit_conversion_factor)