Arsir Peta

ENID

Notes · · 1 min read

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.

At zoom 0 the whole world is a single tile of 256 by 256 pixels. Each zoom level after that splits every tile into four, so zoom z has 4z tiles, and each pixel covers half the ground width it covered one level up.

ZoomTiles for the whole worldMetres per pixel at the equator
01156,543
51,0244,892
101,048,576152.9
1216,777,21638.2
14268,435,4569.55
164,294,967,2962.39
1868,719,476,7360.60

Away from the equator a pixel covers less ground, by the cosine of the latitude: at 45 degrees, about 0.71 of the figure in the table.

Nobody stores the whole world at zoom 18. A field pack covers one area, and because each level has four times the tiles of the level above, the deepest level is about three quarters of the pack. All the levels above it together add about a third again.

zoom 01 tilezoom 14 tileszoom 216 tileszoom 364 tiles
Zoom 0 to 3. Every level has four times the tiles of the one above.