Generator family

The projection itself, as one generator with a mode for each question

One object: a map of the sphere. projection-map draws one; projection-grid draws several side by side; world-cells puts equal patches of ground on it and labels what happened to them; radial-family, conic-family, aspect-sweep and pole-treatment sweep the construction parameter that defines a family; and interrupted-map and interruption-tradeoff are the same map with the cuts made explicit.

One object: a map of the sphere. projection-map draws one; projection-grid draws several side by side; world-cells puts equal patches of ground on it and labels what happened to them; radial-family, conic-family, aspect-sweep and pole-treatment sweep the construction parameter that defines a family; and interrupted-map and interruption-tradeoff are the same map with the cuts made explicit.

Every one of these is the same generator answering a different question, which is why they share a file, a set of colour roles and a set of assertions. Changing it changes all 16.

43 essays call it. Every call below passes it something, because a placement that passes nothing draws whichever member of the family the generator happens to default to rather than the one its essay argues about.

What it draws

One picture per question the family answers. Each has a page of its own.

Where it is called

Changing this changes every one of these figures.

Construction against property. Every projection in the library, sorted by the shape it was notionally rolled from and by what it actually preserves. The families do not line up with the properties: cylindrical and pseudocylindrical and pseudoazimuthal and azimuthal and conic each contain projections of more than one kind, which is why the cylindrical–conic–azimuthal taxonomy answers a question nobody has. Three entries are picked out: Mercator, Albers equal-area conic, Orthographic. The families

Cylinders, cones and planes

The standard taxonomy sorts projections by the shape of paper they were notionally rolled from. It is memorable, it is how everyone is taught, and it says almost nothing about the properties anyone actually chooses on.

Angular deformation against latitude, four projections. The same quantity for mercator, gallPeters, winkelTripel, robinson, from the equator to 80°. A conformal projection sits flat on zero in the first of these plots and runs away in the second; an equal-area projection does the reverse. Nothing is flat in both. What each projection optimises

Every projection minimises something

A projection is the solution to an optimisation problem, and naming the objective explains more than naming the family. Some objectives are exact constraints, some are least-squares fits, and one is a table of numbers a man adjusted until it looked right.

Every projection in the library, measured against both properties. Maximum angular deformation across the bottom, maximum areal error up the side, both on logarithmic scales and both measured over several hundred sample points rather than taken from the projection's description. Conformal projections lie on the left edge, equal-area ones along the bottom, and the corner where both vanish is empty because a projection there would be an isometry of the sphere onto the plane. All 26 are plotted; the four named here are Mercator, Mercator (ellipsoidal), Web Mercator, Gall–Peters. What is taught wrongly

Web Mercator is not conformal

It carries almost every map on the internet, it is named after the projection whose entire purpose is preserving angles, and it does not preserve angles. The machinery here found that without being told to look.

6 projections of the same sphere. The same graticule under Equirectangular, Mercator, Mollweide, Sinusoidal, Robinson, Winkel tripel. Every one of them is a faithful drawing of the same object and no two agree, because each has chosen a different thing to preserve. What each projection optimises

Which projection is best

An incomplete question, and the incompleteness is the answer. Every projection preserves something and destroys something else, so the comparison worth making is between a projection and a purpose, not between two projections.

A cylinder unrolls exactly; a sphere does not. Both pictures show the same grid. On the left it is wrapped round a cylinder of radius 1, on the right it is laid flat, and every distance in the grid is the same in both — the circumference is 2π and so is the width of the rectangle, checked to 10⁻⁹. This is possible because a cylinder has zero Gaussian curvature. No corresponding picture exists for a sphere. The impossibility

What can be unrolled

A cylinder is obviously curved and is intrinsically flat, so it lays out on a table with nothing stretched. A sphere is not. The distinction is exactly zero Gaussian curvature, and it is why paper tubes exist and paper globes do not.

Angular deformation around three standard parallels. Three equal-area cylindrical projections differing only in where they are exact — standard parallels at equator, 30°, 45°. Each has zero angular deformation at its own standard parallel and grows away from it in both directions. Choosing a standard parallel is choosing which latitudes to treat well, and there is no choice that treats them all well. The families

What a standard parallel buys

A standard parallel is a line where the projection is exact. Choosing one does not reduce the distortion — it decides where the distortion is zero and lets everything grow away from it.

The indicatrix at 30°, 40° on Gall–Peters. A circle on the sphere becomes this ellipse on the map. Its semi-axes are the two principal scale factors, a = 1.083 and b = 0.923; their product is the areal factor 1.000; and the maximum angular deformation is 9.16°. h and k are shown too, and depend on the coordinates rather than on the map. Measuring distortion

What survives a change of coordinates

The scale along the meridian is a property of the map and the grid together. The principal scale factors are a property of the map alone. Only the second kind describes the projection, and the two are routinely quoted as though they were the same thing.

New York to Madrid on Mercator. Two routes. The great circle is 5768 km and is the shortest path on the sphere. The rhumb line holds a single compass bearing the whole way and is 5939 km — 171 km further, or 3.0 per cent. On Mercator the rhumb line departs from straight by 9.6e-16 of its own length. Paths and directions

Why Mercator exists

A ship can hold a compass bearing and cannot easily hold a great circle. Mercator is the answer to one question — what must a map do so that a constant bearing is a straight line — and it answers it exactly.

The whole library