Assumed size of one cached tile, in bytes, whenever no measurement is available.
Single source of truth for the whole raster cache path: the calculator's
estimateTileSize default and BOTH of metrics.ts's estimation branches (the
unsampled >100k-tiles path and the sampled path when no HEAD returned a
Content-Length) read this constant. Those three sites used to hold three literals —
25 KB, 25 KB and 15000 — for the same quantity in the same situation.
The 25 KB figure is the empirical one, so it is the one that survived.
⚠️ Distinct from tile-math.ts's AVG_PBF_BYTES, which sizes VECTOR .pbf tiles.
Assumed size of one cached tile, in bytes, whenever no measurement is available.
Single source of truth for the whole raster cache path: the calculator's
estimateTileSizedefault and BOTH ofmetrics.ts's estimation branches (the unsampled >100k-tiles path and the sampled path when no HEAD returned a Content-Length) read this constant. Those three sites used to hold three literals — 25 KB, 25 KB and 15000 — for the same quantity in the same situation.The 25 KB figure is the empirical one, so it is the one that survived.
⚠️ Distinct from
tile-math.ts'sAVG_PBF_BYTES, which sizes VECTOR .pbf tiles.