Analyzing OSM data in PostGIS
summary
A reproducible pipeline loads OSM PBF files into PostGIS using Docker containers and imposm to create configurable tables, demonstrated by a created road table with OSM id, geometry, street_name, is_bridge and highway type. Setup finishes in about one to two hours and data visualizes in QGIS. Example queries show the 10 longest roads and counts by type, and a spatial join with US Census ZIP shapefiles counts buildings per ZIP revealing 95% of OSM buildings lack a subtype.
AI-written summary · about
