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

Ferry route not found for motor_vehicle

1

I have a route like this:

https://www.openstreetmap.org/directions?engine=graphhopper_car&route=52.85652%2C5.70547%3B53.38942%2C5.30609

It says a route between the two points cannot be found. However, when I look at the ferry route:

https://www.openstreetmap.org/way/40118831

It says: motor_vehicles:yes

The route only seems to work by bicycle, not even on foot, while that also says yes. Am I missing something here, or is this an issue with OSM?

asked 26 Jun '23, 07:33

JesseKoper's gravatar image

JesseKoper
41113
accept rate: 0%


One Answer:

1

The ferry route looks fine but various elements leading to or from the ferry route don't.

There is a gate that doesn't have any access tags. Many routers treat this as access=no. Other gates do have access=permissive set instead.

There is a way that has a foot=no tag. The adjacent way has access=no with bicycle=yes set but no foot=yes. It also has a gate with missing access tags (this also applies to other gates in this area, like this one and the others next to it).

Try to fix all those access tags and the routing will probably work. Keep in mind that routers take quite a while to update their data (days, sometimes even weeks).

answered 26 Jun '23, 08:31

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 26 Jun '23, 08:33

Thanks, I'll give it a try!

(26 Jun '23, 10:50) JesseKoper

I've made some changes like you suggested, this seems to work since I can now use the following route which did not work before as I recall: https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=53.1752%2C5.4142%3B53.3892%2C5.3056#map=11/53.2820/5.2879

I need this route to work for GraphHopper specifically though, is this something that just takes time to process for different systems, or is it likely there is a difference between the two for road acceptance that causes this?

(28 Jun '23, 21:37) JesseKoper
1

The time it takes to update the routing data is different for each service. I don't know the update interval of OSRM, however, it is not unusual if it takes a little bit longer than others.

(29 Jun '23, 11:39) scai ♦
1

Thanks, it's working now!

(04 Jul '23, 08:56) JesseKoper

Source code available on GitHub .