fix uber turn viewer breakage. also discovered that we can't clip the

largest .osm while we update it without breaking water polygons
This commit is contained in:
Dustin Carlino 2020-08-04 10:30:07 -07:00
parent 8c2c153347
commit 75179f1400
2 changed files with 5 additions and 2 deletions

View File

@ -7,4 +7,7 @@ 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 -B=data/input/seattle/polygons/huge_seattle.poly updated_wa.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

View File

@ -244,7 +244,7 @@ impl State for UberTurnViewer {
app,
self.ic.members.clone(),
0,
!self.composite.is_checked("legal / illegal movements"),
self.composite.is_checked("legal / illegal movements"),
));
}
_ => {}