AuthorityPreference

class geodetic_engine.projdb.AuthorityPreference[source]

Bases: StrEnum

How custom authorities enter PROJ’s operation selection.

PROJ consults authority_to_authority_preference to decide which authorities’ coordinate operations are candidates for a given CRS pair, and in what order. Because this changes which operation is applied to a coordinate, the mode is explicit configuration rather than a silent default.

CUSTOM_FIRST

Custom operations are preferred for CRS pairs involving a custom authority, and become candidates of last resort for pairs between other authorities. This is what an organisation that maintains its own operations normally wants.

CUSTOM_ONLY

Custom operations are preferred for pairs involving a custom authority, and selection between other authorities is left exactly as PROJ ships it.

NONE

No preference rows are written. Custom operations are only found when a custom CRS is named directly.

__new__(value)