AAfterTom
AfterTom › Guides › WGS84 vs Local Datums: What Is the Difference?

WGS84 vs Local Datums: What Is the Difference?

Published 2026-12-04 · by the AfterTom team · 6 min read

WGS84 is the datum GPS uses. A local datum is one built for a single country or region. The same latitude and longitude written in two different datums can point to places tens or even hundreds of metres apart.

What is a datum?

The Earth is not a perfect sphere. A datum is a mathematical model of its shape (an ellipsoid) plus an anchor that fixes where that shape sits relative to the real Earth. Change the model or the anchor, and every coordinate shifts.

A coordinate always needs its datum to mean something. "34.0209, −6.8416" is a place only once you say which datum the numbers belong to.

WGS84: the global datum

WGS84 (World Geodetic System 1984, EPSG:4326) is centred on the Earth's centre of mass and covers the whole planet. GPS satellites broadcast positions in WGS84, so your phone and every GNSS receiver give WGS84 latitude and longitude. It is also the default of web maps and most mapping APIs.

Local datums

Before satellites, each country measured its own network on the ground and chose an ellipsoid that fitted its territory best. Examples:

DatumUsed inEPSG
NAD27North America (older maps)4267
NAD83North America (current)4269
OSGB36Great Britain (British National Grid)4277
MerchichMorocco (Lambert zones)4261
ETRS89Europe (current official)4258

A local datum fits its own region well, often to centimetres, but can be off by tens or hundreds of metres when you compare it with GPS.

Geographic vs projected: not the same question

A datum says where the Earth model sits. A projection turns latitude and longitude into flat X and Y in metres (UTM, Lambert, British National Grid). A full coordinate system is a datum plus, optionally, a projection. "WGS 84 / UTM zone 31N" is the WGS84 datum with a UTM projection.

Worked example 1: Rabat, Morocco

Take the point 34.0209° N, 6.8416° W written in WGS84. Convert it to the Merchich datum with the standard three-parameter shift (ΔX = −31 m, ΔY = −146 m, ΔZ = −47 m, the same one AfterTom uses for the Moroccan Lambert zones). In Merchich the same place becomes about 34.02410° N, 6.83999° W. If someone reads those Merchich numbers as WGS84, the point lands about 385 m away from the real location.

Worked example 2: central United States

At 40° N, 100° W, NAD27 and NAD83 numbers for the same ground point differ by about 35 m. Old topographic maps in NAD27 and a modern GPS in WGS84 do not line up unless you convert.

Good news: modern datums such as NAD83 and ETRS89 were designed to match WGS84 closely, usually within about a metre. The big shifts come from older datums such as NAD27, Merchich, OSGB36 and Arc 1960.

Convert between WGS84 and your local systemChoose your country, pick the local coordinate system, and get WGS84 latitude and longitude, or the reverse. The datum shift is applied for you.

Open the converter →

How to tell which datum you have

  1. Read the metadata. The map legend, survey report or file header usually names it.
  2. Look at the numbers. Six or seven digit X and Y values are a projected system. Values between −90 and 90 and between −180 and 180 are geographic.
  3. Check the country. The national mapping agency publishes the official system (see EPSG codes).
  4. Compare with a known point. If a benchmark is 100 m off in the same direction, you probably have a datum mismatch.

Common mistakes

Frequently asked questions

Is WGS84 the same as GPS?

GPS broadcasts positions in WGS84, so a GPS receiver reports WGS84 latitude and longitude unless you change its settings.

Is Google Maps WGS84?

Google Maps and most web maps use WGS84 latitude and longitude. The map is drawn in Web Mercator (EPSG:3857), which is a projection of WGS84.

Why not use WGS84 for everything?

Because it moves slightly relative to the continents over time and many countries need stable coordinates for land records. Local datums stay fixed to the national network.