No path could be found for input
Hi guys, I'm using Valhalla for routing, but it returns 'No path could be found for input.' I tested the same input on the web version, and a path was found, although it doesn't reach the destination.
My self host: Return 400
https://valhalla.openstreetmap.de/: Got the route but last point does not reach the dest
I’d like to solve this issue or at least get the same result as the web version. Thank you!
This issue occurs when there is no direct path between the two points. To improve routing, you can add a radius (in meters) to each location object. This allows the router to snap the point to a nearby road segment within the specified distance (e.g., 50 meters).
eg: { "lat": 41.8642816, "lon": -87.6206875, "name": "location name", "radius": 20 }
The default behavior wrt radius is that by default, a 0 meter radius is assumed, in which case the nearest possible candidate will be used. Can you try a /locate request and check that Valhalla loads your tile set? Posting the request and server logs could help us hunt down the cause of your issue.
closing due to inactivity