u/Alternative_Meal8373

[OC] I made an interactive map of how close houses are to roads (using OpenStreetMap)
🔥 Hot ▲ 197 r/dataisbeautiful

[OC] I made an interactive map of how close houses are to roads (using OpenStreetMap)

I built a small website that shows the distance between house walls and the nearest road, using OSM data.

Data-processing (Rust + python):

  • I read building and road data from .osm.pbf files
  • For each building wall vertex, I compute the distance to the nearest driveable road
  • I write that whole data into two .geojson files (per-wall file for lower LODs, and average point per-house file for higher LODs)
  • I convert those .geojsons into .pmtiles using tippecanoe

Rendering (Deckgl + MapLibre):

  • I color the building walls by distance
  • At low zoom, it shows one dot per building/cluster
  • At high zoom, it shows detailed wall segments

Data source: OpenStreetMap

Happy to discuss and read ideas, this is my first public project and will certainly not be the last one.

Link: https://byjtew.github.io/house_to_street

u/Alternative_Meal8373 — 7 days ago

Visualising house-to-street proximity

Hi,
I am looking for feedback on this little project of mine. This will serve as a first step towards a larger-scale project to generate data for games and simulations using OSM as the main source of data.

The core processing is done in Rust, the conversion with tippecanoe, the visualisation uses Deckgl and PMTiles.

Happy to chat about it :-)

Link: https://byjtew.github.io/house_to_street/

reddit.com
u/Alternative_Meal8373 — 7 days ago