About this lab
Three topics, one thread: find a place on the sphere, measure a distance on the sphere, then see what changes when the sphere is laid flat.
A map is flat and Earth is round. Latitude and longitude are two angles at the centre. The shortest path on a sphere is a great circle, not a straight line on a map. Laying a sphere flat always distorts it. The only choice is whether the distortion falls on shape or on area.
The graticule, the boundary lines and the orange circles are computed from the latitude and longitude of every pixel. When the globe is flattened they deform with it, and the shape they take is the true distortion of that projection at that place. Earth is taken as a sphere of radius 6371 km.
Three results
Three results
- Locating: 10° of longitude is 1112 km on the equator and only 556 km at 60°. 179°E and 179°W are only 2° apart. The eastern and western hemispheres are divided at 20°W and 160°E: 10°W is in the eastern hemisphere and 170°E is in the western.
- Distance: across 90° of longitude at 60°N, the parallel is 5004 km and the great circle is 4605 km, a saving of 399 km. It reaches 67.8°N on the way. Across 180° the parallel is 10008 km, while the great circle over the pole is only 6672 km. Across 10° the two differ by only 0.5 km.
- Projection: at 60° the equirectangular map doubles east–west lengths and doubles areas. Mercator doubles both directions, so areas are four times as large. The equal-area cylinder doubles east–west and halves north–south, so areas are unchanged. Greenland is about 2.17 million km² and Africa about 30.07 million km², so Africa is about 14 times as large. On a Mercator map, areas at 72° are enlarged about 10.5 times.
Model and sources
Model and sources
- The central angle is computed with the haversine formula, and the great-circle distance is the radius times that angle. The self-checks verify it with the spherical law of cosines. When two points are exactly opposite, the great circle is not unique and the page takes the one through the north pole.
- All three projections are normal cylindrical projections touching the equator, with x proportional to longitude. In the equirectangular map y is proportional to latitude. In Mercator y = R·ln tan(45° + φ/2). In the equal-area cylinder y = R·sin φ. All three have an east–west scale of 1 ÷ cos φ. They differ only north–south.
- The animation of pushing onto a cylinder and then unrolling it is a sketch to help picture a cylindrical projection. The final positions come from the formulas above. Mercator is not obtained by projecting from the centre onto a cylinder.
The enlargement of Greenland is estimated from the single latitude 72°N near its middle. Its area on the map is not measured. The look of Earth comes from real NASA imagery. Earth is taken as a perfect sphere with no flattening. On the real Earth the length of 1° of latitude varies with latitude by about 1 %.
- CIA World Factbook 2023 · Area rankings ↗ Area data
- U.S. Geological Survey · Map Projections: A Working Manual (Professional Paper 1395) ↗ Checked 2026-11-15
- NASA Earth Observatory · Blue Marble: Next Generation ↗ Daytime surface imagery