Car Routing with Cross the River

Hello, I have a problem, that Graphhopper / OpenStreet doesn’t update Ferry route.

For example, my car needs cross the river (red line) using ferry, but GH doesn’t have route for that. How can I custom or add “red line” in the route of GH ??
Any help will be great appreciate.

Hi Patrick

You need to draw the ferryway on OSM, graphhopper consume OSM data to generate its route.

Regards

1 Like

How can I do that ??
I didn’t see any example for creating custom ferryway on OSM and load into Graphhopper https://www.graphhopper.com/blog/2020/05/06/get-started-with-customizable-routing/

Hi Patrick,

This OSM Wiki should help you better https://wiki.openstreetmap.org/wiki/Tag:route%3Dferry

Regards

I have tried and follow to add ferry ways, which need ferry terminal to connect ferry route.


https://graphhopper.com/maps/?point=0.126707%2C111.397532&point=0.126632%2C111.400772&locale=en-us&elevation=true&profile=car&use_miles=false&selected_detail=Elevation&layer=Omniscale

But why GH can’t drive me into road (yellow highlight), and can’t pass the ferry way (red highlight). Can you give any suggestion of my condition ?
Thankyou so much before

First place the ferry route does not contain a motor_vehicle=yes tag,and second place is that you need to wait for graphopper to import the new OSM data.

1 Like

Thankyou so much @ratrun, now my car can cross the river using OSRM

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.