allow parking lanes on the 'backwards' direction of oneways. they exist, still need to use them properly.

This commit is contained in:
Dustin Carlino 2019-10-16 10:23:29 -07:00
parent 22df33f66a
commit 1438a1490b
3 changed files with 30 additions and 23 deletions

View File

@ -1,21 +1,21 @@
6a5f5047a0f61a78c36fcd7260a4a506 ../data/screenshots/pending_montlake/01x01_i53.png
65572f268290215e74e66ff747626b73 ../data/screenshots/pending_montlake/02x01_i1.png
79752042ecbb6e2dcc89f416f231fb21 ../data/screenshots/pending_montlake/03x01_i0.png
a168de2ea1b6fbe1a08821427cd67c49 ../data/screenshots/pending_montlake/01x02_i7.png
d4508b352d670dd1270b3a39917ea7be ../data/screenshots/pending_montlake/02x02_i126.png
763c1f574ea1e307e080534313e0e0d5 ../data/screenshots/pending_montlake/03x02_i31.png
9860da65b5583f91fa97fd070b7d1a16 ../data/screenshots/pending_montlake/01x03_i97.png
1729a9fb18aefe01f63fd3884a351d91 ../data/screenshots/pending_montlake/02x03_i5.png
9ac4e293a05010def2886a75d2d3eb87 ../data/screenshots/pending_montlake/03x03_i14.png
487b906ecf19918dd36cea29378bee81 ../data/screenshots/pending_montlake/01x04_i3.png
1d8b15e910503a1b3a5a3f59f666e0da ../data/screenshots/pending_montlake/02x04_i27.png
2b1b8843af14e199badec638d809aa76 ../data/screenshots/pending_montlake/03x04_i13.png
ec0d6acb2a1ee7602839f98a8a8b8554 ../data/screenshots/pending_montlake/01x05_i42.png
f083a9bbd9ab7a01fb9ada6ae9476b8b ../data/screenshots/pending_montlake/02x05_i41.png
e49068d8e47a7766ff1ea574bb96fcee ../data/screenshots/pending_montlake/03x05_i21.png
15da92a39d014bfe581743cb3a5fc8e9 ../data/screenshots/pending_montlake/01x06_i11.png
a375f47d64abe5d8f79af7c6d0e6fd9d ../data/screenshots/pending_montlake/02x06_i9.png
95aff80511b717d8771d437b86142efc ../data/screenshots/pending_montlake/03x06_i17.png
9bfb1627b25967f80ff9b6d99eb57baf ../data/screenshots/pending_montlake/01x07_i104.png
f4d3caf06fab74f7979c8fb3acd9fdee ../data/screenshots/pending_montlake/02x07_i19.png
5db88f23d8eb64a2583faebb6bc3979d ../data/screenshots/pending_montlake/03x07_i18.png
34dc6113cebc10da7c87f33ac43ec34c ../data/screenshots/pending_montlake/01x01_i25.png
3789f00f7109d07910337a746e0c3d62 ../data/screenshots/pending_montlake/02x01_i107.png
d3f9c1dd68661b18e989bb7bc4fa2b1c ../data/screenshots/pending_montlake/03x01_i1.png
ef5064383afe01ba7d8c7932279c7519 ../data/screenshots/pending_montlake/01x02_i15.png
038c929b5f6c3f9f0abcd8303490a439 ../data/screenshots/pending_montlake/02x02_i96.png
41dab3e699cf9eb9797b79c06ed858af ../data/screenshots/pending_montlake/03x02_i29.png
20335ec7450c75689468aa1bad7ccad3 ../data/screenshots/pending_montlake/01x03_i160.png
903f650993436caa0d4a9027dc426a03 ../data/screenshots/pending_montlake/02x03_i21.png
e8e407ba87a0c5ec0c5e7846064e3436 ../data/screenshots/pending_montlake/03x03_i8.png
58fea70a60fc03b4c6662dfa365d0f15 ../data/screenshots/pending_montlake/01x04_i6.png
603c0ec27ab088b13bfeab0782531971 ../data/screenshots/pending_montlake/02x04_i19.png
c3ff4583fcf8a0ef100e2903ec8717be ../data/screenshots/pending_montlake/03x04_i4.png
611103dc2dc9d4cef2140bb0b16f8ab1 ../data/screenshots/pending_montlake/01x05_i61.png
402226825af88a8f5b6532e2c82e73da ../data/screenshots/pending_montlake/02x05_i33.png
bae9e7b5d4c810f2476420027836ebde ../data/screenshots/pending_montlake/03x05_i4.png
576d5f09b1f5c44e0835735410cb9e62 ../data/screenshots/pending_montlake/01x06_i2.png
ec81b908ec4f505251d3b8fc46ed4e5d ../data/screenshots/pending_montlake/02x06_i40.png
6277616144ae8ec5319115d1625aed92 ../data/screenshots/pending_montlake/03x06_i11.png
81618e15ff8a24574cd0619b97c63f48 ../data/screenshots/pending_montlake/01x07_i13.png
4cec8bb34382334fcdf280b7a7637133 ../data/screenshots/pending_montlake/02x07_i23.png
5d80573a7a76a96412642695dc22ff3d ../data/screenshots/pending_montlake/03x07_i93.png

View File

@ -96,6 +96,13 @@ Press (and release T), then click to pan. Download a relevant layer, select the
http://download.geofabrik.de/north-america/us/washington.html
```
wget http://download.geofabrik.de/north-america/us/washington-latest.osm.pbf
osmosis --read-pbf ~/Downloads/washington-latest.osm.pbf --bounding-polygon file=~/abstreet/data/polygons/huge_seattle.poly completeWays=true --write-xml ~/Seattle.osm
```
Produces huge files, but seems fresh:
```
osmupdate -v data/input/montlake.osm new_montlake.osm
```

View File

@ -123,7 +123,7 @@ pub fn get_lane_types(osm_tags: &BTreeMap<String, String>) -> (Vec<LaneType>, Ve
if parking_lane_fwd && !definitely_no_parking {
fwd_side.push(LaneType::Parking);
}
if parking_lane_back && !definitely_no_parking && !back_side.is_empty() {
if parking_lane_back && !definitely_no_parking {
back_side.push(LaneType::Parking);
}