Omim: U Turn restriction

Created on 11 Aug 2017  路  23Comments  路  Source: mapsme/omim

In some cases, it is allowed to turn left, but not to make a u-turn. Example: https://www.openstreetmap.org/directions?engine=osrm_car&route=-3.74684%2C-38.54205%3B-3.74690%2C-38.54239#map=18/-3.74638/-38.54297
However, Maps.me is not respecting U-Turn restrictions:
screenshot_2017-08-11-16-04-51

Most helpful comment

Hello. Our routing team is working with these issues right now, see https://github.com/mapsme/omim/pull/10640

All 23 comments

I also encountered it yesterday - maps me completely ignored http://www.openstreetmap.org/relation/2099958#map=19/49.98784/19.91455 and produced route that was illegal to follow (despite correct OSM tagging).

As recommended in
https://github.com/mapsme/omim/blob/968f8283fec37681f9499d6dca1a3db2f66390ef/docs/CONTRIBUTING.md
I also send an email to [email protected] after reporting this problem at bug
tracker

@mapsme can you respond? This is a major bug that makes car routing completely useless in countries where u turn restriction may appear.

Even "we are busy with fatal bugs, we will fix it later" would be nice.

Lack of reaction to reports like this discourages bug reporting.

Hi!

I'm sorry, our QA was too busy for a few weeks and couldn't properly react. Bug will be created soon, thank you.

The issue remains in Maps.me 7.5.3-Google, Data version 170917.

Still not fixed (8.0.1-Google, Data version 171208)...

It seems that mapsme mostly ignores this bug tracker, it was even mentioned that they have some real internal one.

@jalvesaq and @matkoniecz thanks you for your reports and sorry for late reply!

We're aware of the problem you've mentioned about. The reason is we support only line-point-line restriction now. The restriction you wrote about (https://www.openstreetmap.org/relation/7387135, http://www.openstreetmap.org/relation/2099958#map=19/49.98784/19.91455) is line-line-line and our router doesn't support it. We're planning to support all relation:restriction according to osm spec in the future but I can't give a date.

Vladimir

This issue seems to be a lot more urgent now as "multiple via way" restrictions are about to become quite common as the updated turn restriction editor in iD creates them by default even for pretty simple # intersections.

Here is a restriction that the updated turn restriction editor in iD created 2 days ago simply by clicking the appropriate "NO U-Turn" symbol in the editor:
https://www.openstreetmap.org/relation/8082503

I haven't actually tested if maps.me processes that turn restriction correctly, but given that this issue is still open (and all other routers I tested don't handle it either), I assume this is still relevant.

@eFrysTon OsmAnd deals correctly with u-turn restrictions, at least with the one that I used as an example to open this issue.

@jalvesaq for only one way as via (like https://www.openstreetmap.org/relation/7387135) yes, OsmAnd works.
But not when we have multiple via ways https://github.com/osmandapp/Osmand/issues/3647#issuecomment-297675329

@naoliv thanks for clarifying! So, OsmAnd needs to improve too! Anyway, I have mapped a lot of simple u-turn restrictions in my city, but I'm not aware of the need for multiple-way restrictions here.

With the new version of the turn restriction editor in iD, if you select the way that leads into the # intersection and then click on the appropriate button to create a "no u-turn" restriction, a two way via restriction like I linked above is automatically created.

Unfortunately, the issue is not fixed yet: MAPS.ME 8.6.2-Google, Data version 181213.

Still not fixed.

Another example of wrong route calculation due to not considering turn restriction when the "via" element is a highway:

https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=-3.78190%2C-38.55580%3B-3.78191%2C-38.55892

In the above example, drivers traveling from East to West on Silas Munguba Avenue cannot turn left on Jos茅 Meneleu street. Only drivers coming from Padre Carlos Quixad谩 street can cross the Silas Munguba Avenue and go to Jos茅 Meneleu Street, as correctly calculated by OSRM:

Route_correct

However, users of MAPS.ME would be oriented to turn left which is not only forbidden but also dangerous because the traffic signal would be green for drivers coming from West to East on Silas Munguba Avenue:

Route_maps me

If the driver is careful enough to not turn left, the new route to reach the destination is 2 km longer:

Route_post_error

Hello. Our routing team is working with these issues right now, see https://github.com/mapsme/omim/pull/10640

@tatiana-yan the pull request https://github.com/mapsme/omim/pull/10640 was merged on May 6, but the issue still isn't fixed in Maps.me 9.1.8-Google (data version 190621, Android version 8.1.0).

release-91 branch was created on April 23.
Releases 9.1.0 - 9.1.8 have only serverside modifications, new data and bug fixes.
We are planning to release 9.2 in two weeks. Please check this version.

Thanks for the feedback!

You are welcome.
Code from master branch:
Screenshot 2019-07-05 at 20 17 56

Screenshot 2019-07-05 at 20 20 58

is it ok?

Yes, both routes are correct! The first one seems to prioritize main roads and avoid residential roads and the second seems to prioritize the shortest route. Thanks!

It's fixed now (9.2.2-Google, data version 190727). Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rugk picture rugk  路  3Comments

paride picture paride  路  8Comments

naoliv picture naoliv  路  4Comments

matkoniecz picture matkoniecz  路  6Comments

eneerhut picture eneerhut  路  6Comments