Notes
Short notes on web maps, terrain and field data, since 2024.
2026
- Hill shading, and why the light comes from the northwest
Shaded relief is lit from the top left of the map, where the sun rarely is. There is a good reason.
- Zoom levels, and how many tiles a place takes
Each zoom level splits every tile into four. That one rule sets download sizes, storage and how sharp a map can be.
- Why web maps stretch the poles
Nearly every web map uses one projection, and it enlarges everything away from the equator. Here is by how much.
- Why GPS heights disagree with the map
Satellites measure height above a smooth mathematical shape. Maps measure it above the sea. The two can differ by tens of metres.
- Two names for one place
A label in two languages helps a mixed crew, as long as the map knows which name is which.
- Cloud, and the satellite pictures under a map
Free satellite imagery now arrives every few days. In the wet tropics, most of it shows cloud.
- Replacing an offline pack without breaking it
An update that fails halfway must leave the old map working. The order of three small steps makes that certain.
- Map symbols in one image
All the icons on a vector map come from one picture and a small index that says where each one is.
2025
- How a map app gets its fonts
A vector map does not use the fonts on the phone. It downloads its letters in blocks of 256, drawn in a way that scales.
- Drawing streams from an elevation model
Let water run downhill cell by cell, count what flows through each cell, and the streams draw themselves.
- Inside an MBTiles file
An offline pack is often just an SQLite database with one table of tiles and one of facts about them.
- One file instead of a tile server
A PMTiles archive holds a whole map in one file that a browser can read in pieces, straight from ordinary storage.
- Map colours for every reader
About one man in twelve sees red and green differently. A map that relies on that difference fails him.
- Using OpenStreetMap, and the credit it asks for
The data is free to use, including for paid work. What it asks in return is a credit, and openness about the data itself.
- Three norths on one sheet
True north, grid north and magnetic north point in slightly different directions. A sheet should say by how much.
2024
- Grid references, eastings first
A position read off a printed grid is only useful if everyone reads it the same way, and to the same precision.
- Free elevation models, and what 30 metres means
Most terrain on free maps comes from radar flown over the world. It measures the top of the forest, not the ground under it.
- Why a phone's position wanders
Under open sky a phone knows where it is to within a few metres. Under trees or between buildings, it often does not.
- Reading a slope from contour lines
The closer the lines, the steeper the ground. With a ruler and the interval, you can put a number on it.
- UTM zones, and the grid on our print sheets
A grid in metres is easy to measure with a ruler. The price is sixty zones, and a seam wherever two of them meet.
- Where a tile lives: z, x and y
Every tile in a web map has an address of three numbers. Two conventions count one of them in opposite directions.