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
| Attribute | Type | Description |
|---|---|---|
| TRADITIONAL | int = 0 | Specifies that coordinates are ordered as longitude followed by latitude (x, y). |
| AUTHORITY | int = 1 | Specifies 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
| Type | Description |
|---|---|
int | The 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
| Type | Description |
|---|---|
int | The integer value 1 representing authority-defined axis order |