Back to Glossary

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