Longitude/Latitude order (lon, lat)
The coordinate order used by GeoJSON and most WKT-in-EPSG:4326 workflows: X is longitude, Y is latitude.
Category: CRS & Coordinates · Also known as: x/y order, lng/lat
Definition (expanded)
A huge source of bugs is swapping lat/lon. GeoJSON uses [lon, lat]. Many WKT pipelines in EPSG:4326 also use lon lat. If shapes appear in the ocean or mirrored, coordinate order is the first thing to check.
Common mistakes
- Using [lat, lon] in GeoJSON.
- Mixing units (degrees vs meters).
Related terms
GeoJSONA JSON format for geographic features, using objects like Feature, FeatureCollection, and geometry types like Polygon and MultiPolygon.WKT (Well-Known Text)A plain-text format for geometries (e.g., POLYGON, MULTIPOLYGON) widely used in GIS and spatial databases.EPSG:4326 (WGS84 lon/lat)A common coordinate reference system using longitude/latitude on WGS84.Axis orderWhich axis comes first for coordinates, commonly x then y, but some services and standards use latitude first.