-
-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LTN: option to make segment more car friendly #1099
Comments
Hmm, this might be a tricky one. abstreet/map_model/src/objects/road.rs Line 501 in a25398a
This causes a small little Zone to get created around this chunk of street. That in turn gets heavily penalized in the pathfinding: abstreet/map_model/src/pathfind/mod.rs Line 141 in a25398a
The motivation is that pathfinding to this street should be possible, but heavily penalized, so that only trips starting/ending there do it, and there's no through-traffic. All of this pathfinding logic predates the LTN tool and was designed for the traffic simulation and modelling gated / access-only communities. I'm not sure it makes sense in the context of the LTN tool, since understanding / modifying through-traffic patterns is the whole point. One idea is to create a new modal filter type to represent this case. When OSM has something marked as a living street or private, an icon is shown on that road and by default no traffic can cross, but the user can choose to remove it to correctly model reality. How does this idea sound? And CC @andrewphilipsmith, who's working more on the LTN tool these days -- any thoughts? |
That sounds great to me, thanks! |
I think there are two possible questions here; are we handling How should the
|
Thanks for your thorough comment!
I"m not familiar enough with ABstreet but that seems like it would solve my immediate issue of LTN refusing cars on that stretch. From https://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street
Without wanting to bikeshed, maybe 15km/h is a more accurate average worldwide. Manual override seems like a good 2nd step, probably more complex to implement and maybe it wouldn't be too much needed if the default behavior is good enough. And re-prioritize it if the question comes back. |
A bit similar to #1029 but it's not actually a bug,
In my city there is a transit road that have a small "living street" section: https://www.openstreetmap.org/way/462948349
Because of that, routing skips it fully and offload traffic to another street further away, which is not what local drivers do.
Not sure what the best way to improve it is, but maybe add a button like "speed limits" to temporarily make it "car friendly" so simulations are more accurate.
More complex fix might be to ignore such usecase when a stretch of "living street" is alone on a larger road.
Thanks
The text was updated successfully, but these errors were encountered: