How Did People Turn the Earth into a Grid?

Open a map on your phone and drop a pin.

That place can be written with two numbers.

latitude + longitude

Two numbers can identify a point on an entire planet.

How did people learn to turn the curved Earth into a coordinate grid?

Quick Answer

They treated Earth as a sphere and described position with angular coordinates.

Latitude tells how far north or south a place lies. Longitude tells how far east or west it lies from a chosen reference meridian.

This idea developed over centuries. Eratosthenes and Hipparchus were important predecessors. Ptolemy later made the coordinate approach central to his Geography.[1]

A location becomes reusable information when we can describe it with coordinates.

One Angle for North and South

Imagine Earth's equator as a reference circle.

Latitude measures the angular position north or south of that equator.

0° = equator

90° N = North Pole

90° S = South Pole

This connects directly to the previous articles.

Once people could measure the altitude of stars and the Sun, astronomical observation could help estimate latitude.

The Harder Angle: East and West

Longitude is more difficult.

Earth naturally gives us an equator, but it does not give us one obvious zero-longitude line.

A reference meridian has to be chosen.

Ptolemy used a zero longitude near the western edge of the world known to him, associated with the Fortunate Isles.[1]

Hipparchus had already proposed using latitude and longitude to specify locations, and he understood that longitude was tied to differences in local time.[2]

The theory was powerful. Accurate longitude was much harder to measure in practice.

Three-step diagram showing Earth as a sphere, latitude and longitude as two angles, and a coordinate stored in a modern map or GIS

Figure 1. Two angular coordinates turn a place on a sphere into information that can be recorded and reused.

Ptolemy's Big Move

Around the second century CE, Ptolemy wrote the Geography.

Its importance was not that every coordinate was correct. Many were not.

The remarkable idea was to describe thousands of known places with coordinates and to explain how a spherical world could be represented on a flat map.[1]

MacTutor notes that Books 2 through 7 contain coordinates for roughly 8,000 places.[1]

That changes what a map can be.

A map no longer has to survive only as a drawing. If the locations are stored as numbers and the projection rules are known, the map can be reconstructed.

A picture can be copied badly. Coordinates can be recalculated.

But the Numbers Were Not Perfect

Ptolemy had a strong mathematical framework but limited observations.

Reliable astronomical coordinates existed for only a small fraction of the places he wanted to map. Travel reports and distance estimates were often much less accurate.[1]

His assumed size of Earth also contributed to large distortions.

So this is an important lesson:

A good coordinate system cannot rescue bad input data.

The framework and the measurements are different things. Both matter.

Python — Turn Two Angles into a Point

Modern computers can convert latitude and longitude into a point on a unit sphere.

This is a modern representation, not Ptolemy's notation.

Python — latitude and longitude to 3D coordinates
import math

latitude_deg = 40.0
longitude_deg = 30.0

lat = math.radians(latitude_deg)
lon = math.radians(longitude_deg)

x = math.cos(lat) * math.cos(lon)
y = math.cos(lat) * math.sin(lon)
z = math.sin(lat)

print(x, y, z)

The output is approximately:

(0.663, 0.383, 0.643)

The original location was written as two angles. The computer turned those angles into three geometric components.

Predict first.

Change the latitude from 40 to 80.

Which component should move closer to 1: x, y, or z?

A Modern Coordinate Needs More Than Two Numbers

Today, latitude and longitude are everywhere: maps, GIS, navigation, surveying, phones, aircraft systems, and satellite data.

But modern geodesy adds an important warning.

Coordinates are not fully meaningful unless we also know the coordinate reference system, or CRS.

The EPSG geodetic guidance states the point directly: spatial coordinates need a reference system so they identify locations unambiguously.[3]

Why?

Because Earth is not a perfect sphere, different models of its shape exist, and different maps can use different origins and projections.

The same-looking pair of numbers can mean different physical places under different reference systems.

From Ptolemy to GIS

Ptolemy's coordinates and a modern GIS database are separated by almost two thousand years of mathematics, measurement, and technology.

We should not pretend they are the same system.

But the intellectual connection is clear:

place → coordinate → stored data → map

Once locations become numbers, maps can be searched, combined, transformed, compared, and computed.

That is why coordinate systems sit underneath so much modern engineering data.

Words to Keep

latitude
Angular position north or south of the equator.

longitude
Angular position east or west of a chosen reference meridian.

meridian
A north–south reference line running from pole to pole.

coordinate
A number, or set of numbers, used to specify position.

coordinate reference system (CRS)
The reference framework that gives coordinates an unambiguous geographic meaning.

One Sentence to Keep

Latitude and longitude turn a place on the curved Earth into two numbers that can be recorded, compared, and mapped.

What Should We Ask Next?

Coordinates can describe points on a sphere.

But most maps are flat.

Can we flatten the Earth without changing its shapes, distances, or areas?

Next: Why Can No Flat Map Show Earth Perfectly?

Previous: How Can a Triangle Tell You Where You Are?

Sources & Further Reading

  1. MacTutor History of Mathematics, “Cartography” — Eratosthenes, Hipparchus, Ptolemy, geographic coordinates, Ptolemy's Geography, and map projection.
  2. MacTutor History of Mathematics, “Longitude and the Académie Royale” — Hipparchus' use of latitude and longitude and the connection between longitude and time.
  3. EPSG / IOGP, “Geodetic Awareness” — why coordinates must be associated with a coordinate reference system.
  4. U.S. Geological Survey, “Teaching with Topographic Maps” — modern geographic coordinate systems, latitude/longitude, UTM, and map projections.

Historical note: the development of geographic coordinates spans multiple people and centuries. Ptolemy did not invent latitude and longitude alone, and the maps in surviving medieval manuscripts have a complicated transmission history. The Python and CRS sections are modern teaching connections.