Every number in a city popup, and how it is calculated:- score
- The city's readiness, 0–100: the equal-weight mean of the per-category comp values (a category with no mapped facilities region-wide is dropped and the weights renormalize). Equal weights are a disclosed value judgment.
- pop
- The OSM
population tag on the city's place node; also the weight used in the region score. - nearest
- Routed network distance (km) from the city's place node to the closest facility of the category: the 5 closest facilities by straight line are each routed over the region's major-road (motorway–secondary) network and the smallest routed distance is kept. Approximate corridor-level routing, not door-to-door.
- count
- All facilities of the category mapped in the ENTIRE region's OSM extract — coverage context only, it feeds no score. A low count can mean under-mapped, not absent.
- comp
- The category's score contribution:
100 × (1 − nearest / 50) clamped to 0–100 — 0 km → 100, 25 km → 50, ≥50 km or no facilities → 0. - region score (rankings)
- The population-weighted mean of the region's city scores (unweighted when no city has a population tag).
Facilities come from each region's OSM extract (never live APIs); OSM coverage varies and
shelters especially are thinly mapped. Cities are OSM places tagged
place=city|town with a population tag; admin place nodes are excluded and duplicate nodes within 5 km dedupe to the most populous. Routing is approximate (see docs/architecture/approximate-freeway-routing.md).