Route in foot profile goes on the road

Hi everyone !
I deployed an instance on a server.

I have a use case where the route cannot use (even for a short time) a path on the road.
That’s the main requirement, even if the route is longer.

My example can be seen here also :

As you can see, it goes on the road even if there are pedestrian path to go to this destination.

I’m not sure if that can be solved by a configuration or the problem is on the map !

I hope you’ll be able to help me !

Robin

Can you be a bit more specific about which route you expect and where it goes wrong? Maybe use some via-points to force your desired route to illustrate what you expect.

Hi,

did you try a custom routing profile?

That way you can set the “priority” of roads lower, to make the paths for the routing more attractive:

{
  "distance_influence": 15,
  "priority": [
    {
      "if": "road_class==PRIMARY||road_class==SECONDARY||road_class==TERTIARY||road_class==RESIDENTIAL",
      "multiply_by": "0.9"
    }
  ]
}

For your example its works pretty nice: