mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-01 02:33:54 +03:00
3555e58369
will find a workaround tomorrow
14 lines
523 B
Bash
Executable File
14 lines
523 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This tool needs https://wiki.openstreetmap.org/wiki/Osmupdate#Download
|
|
|
|
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
|
|
osmupdate -v washington-latest.osm.pbf updated_wa.osm.pbf
|
|
rm -fv washington-latest.osm.pbf data/input/osm/*.osm
|
|
osmconvert updated_wa.osm.pbf -B=data/input/polygons/huge_seattle.poly --complete-ways -o=data/input/osm/Seattle.osm
|
|
rm -fv updated_wa.osm.pbf
|
|
# Then run import.sh
|