Know the way type of each path in a route request

I’m having some troubles understanding GraphHopper internals.

What I want to do is the following: if my user requests a “bike” route, I want to tell him which paths are cycleways and which ones are not along the way.

What is a good way to implement this? Also, what do I need to understand better about GraphHopper to conclude this on my own?


you could do this with the PathDetails. This feature was recently added to GraphHopper, so there is not much documentation yet, but I think it should be straight forward to add this, once you have that information available in the graph.