2019-10-25 03:11:35 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-11-24 18:21:30 +03:00
|
|
|
# This tool needs https://wiki.openstreetmap.org/wiki/Osmupdate#Download
|
2020-05-04 23:25:06 +03:00
|
|
|
# This is just for Seattle
|
2019-11-24 18:21:30 +03:00
|
|
|
|
2019-10-25 03:11:35 +03:00
|
|
|
set -e
|
|
|
|
|
|
|
|
# From http://download.geofabrik.de/north-america/us/washington.html
|
2019-12-03 23:29:57 +03:00
|
|
|
curl -L -O http://download.geofabrik.de/north-america/us/washington-latest.osm.pbf
|
2020-08-04 20:30:07 +03:00
|
|
|
# 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
|