Mandatory Accompanying Playlist

The World

The world is round. Google says so. The problem is, spheres can be hard to get your head around… Imagine we want to see a map of the whole world. We might try something like this.

I’m not sure about you but I’m feeling distinctly underwhelmed. Only the countries in the center are undistorted and I can’t see the whole map. People used to put this on spinning balls right? Let’s try that.

Fun! You can even spin it!

But what if we want to see two places at once? Two globes! I know what you’re thinking. You’re thinking “Genius! Who doesn’t want two hulking great spheres on their desk, or in in their pocket?! I do! While beautiful, they are a bit impractical. They’d have to be enormous to provide the accuracy we need for sailing the high seas or finding the way around the corner to buy some milk…

The pragmatist in me is thinking that it would be nice if I could put this on a piece of paper. Thin, light, you can roll it up, lay it out on a desk. Most practical!

Mercator Map

Someone told me about a guy that came up with ‘a popular and good’ way of making a sphere flat was something called the Mercator Projection.

The whole world is visible 🤗. Wow, Greenland looks really big though, and what’s the gigantic land mass at the bottom? Let’s put a globe next to it and work out what is going wrong.

Right. See that really big land mass at the bottom? It’s not nearly as big on the globe as on the flat map. Maybe we can add some indication of scale better compare.

(Not) Tissot’s indicatrix

A Frenchman named Tissot came up with something fancy. The general idea was to characterize local distortions; To show you what a small circle would look like when moved from the globe to the map. I’m more interested in distortion at the scale of the map I’m looking at. To characterize this, I think we could draw circles on the globe and project them into our map.

Play around with the globe a bit and get a feel for how the Mercator projection distorts area. You might have noticed that the circles drawn on the poles of the globe do not appear on the Mercator map… Well, they are barely visible, as thin lines at the top and bottom of the map. Why aren’t they visible? Well, the Mercator projection preserves the angle of intersecting lines and preserves shapes at small scale. To do this it distorts the map.

Distortion

To better understand the Mercator projection, we should first look at the Equirectangular projection.

And how it relates to the globe and the Mercator projection.

The Equirectangular projection is like dropping the spherical globe into a cylinder, making tiny holes at the poles and stretching the sphere out so the points at the poles wrap around the top and bottom of the cylinder. Then you just slice the cylinder at the antimeridian and unroll it into a rectangle.

Notice that on the Equirectangular map, the height of each circle is the same but the width changes as the map gets more stretched out near the poles. In fact, as you get to a pole, you have stretched a single point out into the entire width of the map!

To remedy the horizontal stretching, the Mercator Projection stretches the globe out in the vertical direction an equal amount. This is good because it helps preserve the shape of small objects. It’s also great if you’re a sailor as you can draw a straight line on a Merctor map and if you sail along it, you will maintain a constant heading. Really useful for navigating a ship in the 1600s. In fact, Mercator was in the business of selling maps. He described his map using this projection method as a “new and augmented description of Earth corrected for the use of sailors”. Today the Mercator projection is still used to navigate the high seas.

You can see the effect of this distortion when using Google Maps. If you move north or south from the equator and stay at the same zoom level, objects will become larger 😯…😮.

Below are embedded maps of Singapore and Anchorage, Alaska at the same zoom level. Notice how the cars in Alaska are bigger than the ones in Singapore because they’ve been stretched by the Mercator projection.





In fact, this effect leads to Infinite distortion. Yes, the reason you couldn’t see the circle on the poles before is that they are cut off! The infinite distortion means we have an infinitely large map. Existential questions aside, we can thus reason that all Mercator maps are trimmed.

TL;DR.

Every map you see in 2D is some kind of tradeoff between different types of distortion. It’s not always immediately obvious what tradeoffs are being made because we have been conditioned to seeing the world as a 2D projection of a 3D object. i.e. A globe unrolled onto a piece of paper.

Playing with Projections

To help my understanding of how projections distort the globe I came up with a little tool that allows you to rotate a globe and see how the rotated globe translates into a particular map. Here is that tool comparing the globe to the Mercator projection. You can drag either map to rotate the earth and recenter the rotation with the button in the top left.

This representation helps gain understanding of how projections distort area. Projections also distort shape. This view better illustrates the distortion of shape.

The idea here is to split the globe up into similarly shaped and sized tiles. Each tile has similar area and shape on the globe so it’s easy to see the distortion on the map. Traditional graticules are neither similar in size or shape on a globe and can be misleading.

In fact, both representations give you an idea of how a map projection distorts shape and area.

Armed with these weapons you can fight back against the tyrannical cartographers of times gone by. Turn your nose up in disgust at density metrics on Mercator maps, and make up your own mind as to which projection you like best.

My favorite is below, the Goode Homolosine.

It is indeed very Goode; as an equal-area projection, it preserves area across the map. This is good for showing distribution or density. It also, in my opinion, does a good job of minimising distortion thanks in part to it’s interruptions (cuts).

Your turn

Now, feel free to use this tool to play around and get a better understanding of map projections and maybe the world we live on.

Source

The source for this blog can be found in my blog repository, the spinny map thing is a polymer web component which you can reuse. It is also on GitHub in the polymer-globe repository.

Credit to Mike Bostock for d3. Specifically for the two blocks incorporating Versor Dragging for Orthographic and Mercator projections.

Credit to Jason Davies, specifically for his Versor Dragging example.

Thanks to Jörn Hees for reading this several times despite having a PhD to finish.