I really need your help. I’m trying to plan a route for trains using the car profile in GraphHopper. Can you please advise if there is a way to restrict turns more than 90 degrees in the route?
Also, when using imprecise data, I noticed that one of the points in the route may deviate. Is there a way to make GraphHopper snap this point to the nearest road to avoid sharp turns, like the 2nd point shown in the attached image?
@karussell
Hello! Your response was very helpful to me. Thank you! I managed to set up turn costs, and now the route is being calculated without sharp turns.
There’s one more thing I want to clarify. Is it possible, based on the received point, to find the nearest points on other paths within a specified radius? Just like in the screenshot. If point 1 was received, I want to calculate the route to all neighboring points to find the shortest path. As you advised me in your response, I think this would be a good solution.