Each building contour from OpenStreetMap is processed to compute the distance from every wall vertex to the nearest road segment (excluding selected road types).
Included highway values:
residentialliving_streetserviceunclassifiedprimaryprimary_linksecondarysecondary_linktertiarytertiary_linktrunktrunk_link
All other types (motorways, footways, cycleways, …) are excluded.
Distances are stored as a per-vertex distances array and visualized as a continuous color gradient.
Level of detail: below zoom 14, one dot per building or cluster; from zoom 14 and above, each wall segment is rendered individually.
Pipeline: .osm.pbf -> Rust processing -> GeoJSON -> tippecanoe -> PMTiles.
Rendering stack: Deck.gl + MapLibre GL JS.