OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2018-08-16 19:27:51

angeltrust
New Member
Registered: 2018-08-16
Posts: 2

Right approach to fix OSRM Routing Errors

Hello,

I have installed an own instance of OSRM (latest version 5.18.0). I used latest osm data (bremen.osm.pbf) with the original car.lua script.
When testing, there is a routing error. You can see the same error in the demo map of OSRM:

http://map.project-osrm.org/?z=17&cente … l=en&alt=0

It shoudnt route via this way ("Johanne-Kippenberg-Weg") because it is for pedestrians / bicycles only. In osm it is defined as "highway=path", you can see it here:

https://www.openstreetmap.org/way/28041 … 81/8.85491

I am struggling a lot to understand all those attributes in osm-data, (and tags / black/-whitelists in the lua script).

My question in this case is

1.) Why is it routing via "Johanne-Kippenberg-Weg" although it is not defined as a motorway?
2.) What is the right approach to fix this error in my application. Edit the car.lua (if so, in which way?) or edit "Johanne-Kippenberg-Weg" in OSM-data (if so, in which way?)?

Thank you for your time!

Offline

#2 2018-08-16 21:04:04

alester
Member
Registered: 2011-09-21
Posts: 215

Re: Right approach to fix OSRM Routing Errors

angeltrust wrote:

It shoudnt route via this way ("Johanne-Kippenberg-Weg") because it is for pedestrians / bicycles only. In osm it is defined as "highway=path", you can see it here:

https://www.openstreetmap.org/way/28041 … 81/8.85491
...
1.) Why is it routing via "Johanne-Kippenberg-Weg" although it is not defined as a motorway?

That way has been tagged "access=yes", which allows any mode of transportation. If the path is only legally defined as being for foot and bicycle traffic, then the "access=yes" tag needs to be removed.

Offline

#3 2018-08-17 18:46:53

angeltrust
New Member
Registered: 2018-08-16
Posts: 2

Re: Right approach to fix OSRM Routing Errors

Ok thank you, that explains it all.

Offline

Board footer

Powered by FluxBB