mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 12:12:00 +03:00
75179f1400
largest .osm while we update it without breaking water polygons
14 lines
502 B
Bash
Executable File
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
|