i previously mentionen that there's a problem with osrm suggesting "almost u-turn" in situations where a normal way splits into two oneways (often just before/after intersections). osrm enters from one of the oneways, does a very sharp turn, and returns back the other oneway.
the problem is not caused by incorrect tagging. requiring turn restrictions doesn't make much sense; it's assumed that you're not allowed to make such "almost u-turns" right outside the intersection. there are a lot of these places, and none of them has turn restrictions.
an idea for dealing with this problem could be to have a configurable penalty for very sharp corners (fx between 140 and 180 degrees). i think this would work since the sharpness of the turn is what makes it so akward/undesirable.
it might be easy to implement if you already do penalty for u-turns and left/right turns.
i previously mentionen that there's a problem with osrm suggesting "almost u-turn" in situations where a normal way splits into two oneways (often just before/after intersections). osrm enters from one of the oneways, does a very sharp turn, and returns back the other oneway.
the problem is not caused by incorrect tagging. requiring turn restrictions doesn't make much sense; it's assumed that you're not allowed to make such "almost u-turns" right outside the intersection. there are a lot of these places, and none of them has turn restrictions.
an idea for dealing with this problem could be to have a configurable penalty for very sharp corners (fx between 140 and 180 degrees). i think this would work since the sharpness of the turn is what makes it so akward/undesirable.
it might be easy to implement if you already do penalty for u-turns and left/right turns.