This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Non optimal OSRM route - yet all attributes appear correct.

1

Hi,

When routing from 51.78981, 0.15966 to 51.79049, 0.15968 (basically from one side of a roundabout to the other) the routing is not navigating through the roundabout but taking a large detour. I work for a company that uses OSM for routing taxi journeys (hence I am by not that familiar with OSM). I have looked at the features and attributes and cant find any reason why OSM will not route using the roundabout. Any help would be appreciated as to which features/attributes are incorrect and what needs to change.

Regards,

Steve.

asked 23 Mar '22, 13:12

Steve%20P's gravatar image

Steve P
31224
accept rate: 0%


One Answer:

6

This is the route in question: https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=51.78952%2C0.15936%3B51.79030%2C0.16035#map=17/51.79066/0.16278

Ways https://www.openstreetmap.org/way/1028499848 and https://www.openstreetmap.org/way/1029414075 still have construction=primary set. I guess this makes OSRM ignore these ways (in contrast to GraphHopper which uses them for routing, probably because they also have highway=secondary set).

Remove this tag if construction is finished. Wait a few days for the data to get updated in the routing engines.

answered 23 Mar '22, 13:41

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 23 Mar '22, 13:43

Source code available on GitHub .