-
Notifications
You must be signed in to change notification settings - Fork 3.3k
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Missing Routing Info in viaroute Service #1615
Comments
The problem here is that the U-Turn is executed via a connecting street - to OSRM it looks like you are following a street. These short segments would need to be marked in the pre-processing as intersection edges and handled in the turn instruction generation accordingly. Sadly this is not easily doable. This might get added with the revamp of turn instruction generations, which is still off some time. |
So then there are two problems:
Best regards |
@programmer-art There is a turn restriction at the intersection, specifically prohibiting the turn. Is that turn restriction correct? Graphhopper also uses OSM data, but can't handle turn restrictions. |
@TheMarex Ok, that explains why the crossing is not considered. Unfortunately, I can not tell you if there is a turn restriction in reality, because I do not take that route... |
@TheMarex interestingly though, it looks like that restriction only restricts turns from Maximilianstraße (the east-west way) onto Thomas-Wimmer-Ring (N-S way), which isn't necessarily indicative of a no-U-turn rule from Thomas-Wimmer-Ring around the median onto itself — there is no restriction from Thomas-Wimmer-Ring onto Maximilianstraße. So could this be an OSRM error? (Then again I'm no expert at German traffic laws :p ) |
@lbud looks like you would need to merge on Maximillianstraße first, before you can could turn left again. But it is impossible to tell without seeing the road markings (but U-Turn lanes are not that common at German intersections). So technically this would not even be considered a U-Turn, more like turning left twice. |
OSRM v5 has improved guidance for this: The turn restriction still applies. Street-level imagery for this intersection is here: @TheMarex based on that imagery, I'd say the route we're returning is correct. In Germany, is it correct that u-turns are generally not permitted except where explicitly allowed? If so, then I think this ticket can be closed. |
No it's the other way around in germany: uturns are allowed by default in everywhere you can make a left turn, except there is a explicit no-uturn sign: http://wiki.openstreetmap.org/wiki/DE:Relation:restriction#Hinweis_zur_Beschilderung |
From looking at the data, the turn-restrictions currently give exactly what we find in the route. Thile our support for via-way restrictions is not working yet (#2681), the way it is handled currently is correct with respect to the graph model. I suspect other reasons for why graph-hopper is showing the turn (most likely ignoring the restriction). Closing here since not actually actionable for us, apart from #2681. |
Hi there.
An important route information is the U-turn on a main street where you get the information that at some distance, there is a turn possibility if you missed a previous exit. In OSRM, this information is missing.
As you can see in the image, the route is showing only that it is going straight ahead and does not show the U-turn as a U-turn.
If I test against graphhopper, it shows some more info and it also shows another turning point.
On the other hand, forcing GraphHopper taking the same turning point, it is also missing the turning information. Is this an algorithm problem or an OSM problem?
As a reference, I tested using Google Maps. Again, the same route and it is showing everything very nicely and correctly.
In the first image, you can see two things:
If changing the destination marker to across "Maximilianstraße" to also force Google Maps to choose the small turning point, it also shows it correctly like in the following image.
Is there any way you can provide the same turning information as Google Maps does in you viaroute service of OSRM backend?
Thanks a lot.
The text was updated successfully, but these errors were encountered: