-
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
Please support oneway=reversible #902
Comments
unfortunately, at this point, OSRM can't handle routes that change depending on the time of day. |
how often does the oneway direction change? |
@emiltin: more or less every 2 minutes (there is a traffic light). |
if a short period is specified (what tag?), perhaps we could indeed support ways with oneway=reversible. supporting way which changes direction seldom, for example once per day, is harder. |
This not uncommon in the US. It is called a zipper lane, During rush hour in the morning it is oneway into Boston then reversed for rush hour out of Boston in the evening. At least one of the bridges has a similar zipper lane connecting to New York City. We commonly use traffic light controlled oneway reversible lanes during construction projects that might last for years. I would treat these as two way with 50% reduced speed and a traffic light to get accurate cost figures. The zipper lanes can probably be ignored because they are designed to augment traffic flow and not change traffic patterns and route ability. |
but is there a tag that indicates that the direction changes every minute, rather than once per day? |
Some of them only reverse when triggered by a car sensor rather than a timer. Granted that is a tagging standards issue not a OSRM issue. |
would it be valid to assume that if no time info is provided, it changes often? |
Yes, I find this solution very simple and useful. |
if the assumption is valid, then perhaps ways with oneway=reversible and oneway:time=nil could be allowed with half the normal speed. however the wiki states: "oneway=reversible is presently used to indicate a road that is one-way at certain times of day, and one-way in the other direction at other times." this doesn't really sound like a road that changes direction each minute. |
A road that changes the direction each minute reminds me of the way how road construction is handled in Germany when one lane is closed. I also think that @emiltin is right and |
I've replaced http://www.openstreetmap.org/way/222639580 So my problem is solved now. I think this ticket can stay open ( Thank you! |
Fwiw, i stumbled on the exact same issue on this road : http://www.openstreetmap.org/way/241777300 + http://www.openstreetmap.org/way/241777308 + http://www.openstreetmap.org/way/26397201.. trying to route via the passo stalle fails, as can be seen on http://osrm.at/9Ny. that road is traffic lights regulated, ie oneway/greenlight from anterselva to passo stalle during 15mn, then 15mn road closed (to allow for traffic to reach the pass), then 15mn oneway down from passo stalle to anterselva, then 15mn road closed/red light (to allow traffic to reach the lake down in the valley). If osrm plans to support it, i'm definitely willing to put the correct time information tags on those 3 highway segments... if there's a consensus on how to tag it :) |
Idea: switcher between "avoid reversible" and "consider reversible as twoways" at least. |
maybe just reduce speed by half if oneway=reversible, or lanes=1? |
A behavior similar to |
Closing this in favor of #2837 Sorry we didn't catch the ticket as a dupe; the ticked linked has ore information on how to handle this. |
For example: http://osrm.at/6iu
Thank you!
The text was updated successfully, but these errors were encountered: