Skip to content
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

Closed
Stemby opened this issue Feb 4, 2014 · 19 comments
Closed

Please support oneway=reversible #902

Stemby opened this issue Feb 4, 2014 · 19 comments
Labels

Comments

@Stemby
Copy link

Stemby commented Feb 4, 2014

For example: http://osrm.at/6iu

Thank you!

@emiltin
Copy link
Contributor

emiltin commented Feb 4, 2014

unfortunately, at this point, OSRM can't handle routes that change depending on the time of day.

@emiltin
Copy link
Contributor

emiltin commented Feb 4, 2014

how often does the oneway direction change?

@Stemby
Copy link
Author

Stemby commented Feb 4, 2014

@emiltin: more or less every 2 minutes (there is a traffic light).

@emiltin
Copy link
Contributor

emiltin commented Feb 4, 2014

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.

@woodbri
Copy link

woodbri commented Feb 4, 2014

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.

@emiltin
Copy link
Contributor

emiltin commented Feb 4, 2014

but is there a tag that indicates that the direction changes every minute, rather than once per day?

@woodbri
Copy link

woodbri commented Feb 4, 2014

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.

@emiltin
Copy link
Contributor

emiltin commented Feb 4, 2014

would it be valid to assume that if no time info is provided, it changes often?

@Stemby
Copy link
Author

Stemby commented Feb 4, 2014

Yes, I find this solution very simple and useful.

@emiltin
Copy link
Contributor

emiltin commented Feb 4, 2014

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.

@DennisOSRM
Copy link
Collaborator

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 oneway=reversible doesn't really catch your case.

@Stemby
Copy link
Author

Stemby commented Feb 5, 2014

I've replaced oneway=reversible with oneway=no+lanes=1.

http://www.openstreetmap.org/way/222639580

So my problem is solved now. I think this ticket can stay open (oneway=reversible is still unsupported), but if you want to close it, no problem for me.

Thank you!

@landryb
Copy link

landryb commented Oct 18, 2014

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 :)

@socketpair
Copy link

http://osrm.at/cqU

osrm_reversible

@socketpair
Copy link

Idea: switcher between "avoid reversible" and "consider reversible as twoways" at least.

@emiltin
Copy link
Contributor

emiltin commented May 19, 2015

maybe just reduce speed by half if oneway=reversible, or lanes=1?

@TheMarex
Copy link
Member

A behavior similar to lanes=1 seems appropriate. Tracking here #1388

@daniel-j-h
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants