A file stored to 5 decimal places, drawn at zoom 16
Which of the two quantisations is the coarser, against latitude. East–west the answer never changes: a degree of longitude shrinks as cos φ and a Mercator pixel covers ground as cos φ, and it is the same cos φ, so the ratio is flat to 0.33 per cent — and what is left of it is N(φ)/a, the ellipsoid, rather than arithmetic. North–south the two cross at 62.2°: below it the file is the limit on where a vertex can be, above it the screen is.
It is drawn by screen-figure with
show: "quantisation-grids" — one member of a family of
12 figures
that share a generator, so the drawing above is what that generator returns when it is asked
for this one and given nothing else.
4 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.
Where it is called
Changing this changes every one of these figures.
The pixel is a place with a size
Drawing a coordinate rounds it to a pixel, which moves it by up to half a diagonal — 16.8 metres at zoom 12. Whether two points 43 metres apart appear as two dots is not a property of the data at all: they merge for 12 per cent of the positions the tile grid could take, and the closed form predicts 12.4.
An edge has no order of convergence
On a smooth field the three resampling kernels converge at orders 1, 2 and 3 and the choice is obvious. Across a discontinuity they converge at 0.78, 0.58 and 0.60 — within a factor of 1.4 of each other, in an order that puts nearest-neighbour first, and a real raster is mostly edges.
A vector tile has an integer grid
Six essays on this ladder treat a vector tile as the thing a raster tile is not: geometry, resolution-free, styled at draw time. Its coordinates are integers on a lattice 4,096 units across a tile, the tile halves at every level, and at 55° north one unit is 88 metres at zoom 6 and 21 millimetres at zoom 18.
The renderer runs out of numbers before the zoom does
Eleven essays price the pyramid in exact arithmetic. The pipeline that draws it carries single precision, where a world coordinate near the antimeridian quantises to two metres — at every zoom, because the number does not get smaller when the pixel does. At zoom 22 that is fifty-four pixels.