-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Don't penalize button-operated traffic lights #3747
Comments
Yes it's possible to do so, have a look here Lines 280 to 282 in 5739c27
Not sure if it's a valid assumption to make, though. |
From my personal experience of going around in Hamburg and Amsterdam, button-operated traffic lights are as much a pain for the cars - they're used so much they should be seen as normal traffic lights I think. I'd be happy to push some code to the default lua profile if we reach consensus here. |
Seems you're so "lucky" driver as me 😉 Of course, just excluding such traffic lights is the simpliest solution but not the best. It's really 2-3 strings code change in lua. But this also requires some new cucumber test and/or adopting/extending a lot of existing ones - and so I didn't push anything for this issue yet. But actually this issue is the just preparation for another, the much important for me - increasing common traffic lights penalty to more realistic value than current 2 seconds. I already prepared some comparison of the same route with different traffic lights penalties but got quite strange results with previous OSRM v5.5.4 - the changing only one penalty type seems to break overall balance of all others. Maybe OSRM v5.6.0 will act better. |
BTW it will be enough just to update LUA with new |
Hm right now we only support and it seems like they're using the The first node has
the second one
The Wiki makes an explicit distinction between traffic signal tags for pedestrians and cars: It also states
A single traffic signal can have many crossings - I'm not sure if we should just add a penalty to all crossings in addition to a penalty for the traffic signal. It seems like @emiltin's comment above is spot on. |
I'm going to don't add penalties to |
Closing here - we can't do it in the default planet-wide profiles. |
IMHO it's possible to don't assign penalty to button-operated traffic lights. They are really usually at pedestrian crossings and used infrequently on on-demand basis.
The text was updated successfully, but these errors were encountered: