⏱️ TLDR

🤔 Why is the order of latitude and longitude not always the same?

The difference between traditional (latitude, longitude) and GeoJSON’s [longitude, latitude] comes from different standards for representing geographic data. Here’s why this difference exists and how you can remember or recognize the order:

Why the Difference?

  1. Traditional Coordinate System (latitude, longitude):
  2. GeoJSON (longitude, latitude):

How to Remember / Recognize the Order

Here are some tips to help you remember the correct order depending on the context:

  1. Traditional Context (latitude, longitude):
  2. GeoJSON and Data Context [longitude, latitude]:
  3. Recognizing the Order:

Longitude (East-West, x) & Latitude (East-West, x)

Untitled

Longitude “x”

Longitude measures the distance east or west from the Greenwich prime meridian. Meridians of longitude have are lines that run North to South and have a constant longitude.

Latitude “y”

Latitude measures the distance north or south from the equator.

Parallels of latitude are lines that run parallelly to the equator and have a constant latitude

Ezelsbrug

Latitude is Lateral ⇒ Lateral parallels of latitude

Hong Kong

Longitude Latitude
deg° min’ sec’’ 22° 18’ 11’’ N 114° 9’ 27’’ E
decimal deg° 22.3031° N 114.1575° E