Skip to main content

AxisOrder

This enumeration defines the coordinate axis ordering for spatial data, allowing for a choice between traditional and authority-defined sequences. It is used to specify whether coordinates should follow the standard mathematical order or the order prescribed by a specific coordinate reference system authority.

Attributes

AttributeTypeDescription
TRADITIONALint = 0Specifies that coordinates are ordered as longitude followed by latitude (x, y).
AUTHORITYint = 1Specifies that coordinates follow the order defined by the CRS authority, typically latitude followed by longitude (y, x).

Methods


TRADITIONAL()

def TRADITIONAL() - > int

Represents the traditional axis ordering where longitude precedes latitude.

Returns

TypeDescription
intThe integer value 0 representing traditional axis order

AUTHORITY()

def AUTHORITY() - > int

Represents the axis ordering defined by the authority (e.g., EPSG), where latitude typically precedes longitude.

Returns

TypeDescription
intThe integer value 1 representing authority-defined axis order