abstreet/data/get_fresh_osm.sh
Dustin Carlino 75179f1400 fix uber turn viewer breakage. also discovered that we can't clip the
largest .osm while we update it without breaking water polygons
2020-08-04 10:30:07 -07:00

14 lines
502 B
Bash
Executable File

#!/bin/bash
# This tool needs https://wiki.openstreetmap.org/wiki/Osmupdate#Download
# This is just for Seattle
set -e
# From http://download.geofabrik.de/north-america/us/washington.html
curl -L -O http://download.geofabrik.de/north-america/us/washington-latest.osm.pbf
# TODO Ideally limit update size with a clipping polygon, but it clips too
# aggressively for the huge_seattle map. I guess we'd need an even bigger
# boundary for that.
osmupdate -v washington-latest.osm.pbf updated_wa.osm.pbf