Figuring out which part of a route is a ferry

I’d like to detect which points in a route, or step instructions, are ferries. I’ve tried multiple routes that include a ferry section and I’ve looked for hints in the returned instructions, without success.

It looks like ferries are taken into account when generating the Instructions, but I can’t find anything related to ferries when debugging an InstructionList (for example in the extraInfo field). Also, this thread sugests that ferries are added to instructions but I don’t think it’s working anymore.

This is my first post here, thanks for open sourcing such an awesome project.

Have a look into the road_environment path detail: Routing API: Using Path Details - GraphHopper Directions API

That worked perfectly, thank you!

1 Like
Powered by Discourse