osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

OSRM Detour when Origin/Destination is in different country

Open orhun-karapinar opened this issue 4 months ago • 0 comments

Hi, I am working on restricting border crossings by adding border_control to the avoid list in my Lua profile. The issue we saw while testing is that this causes unnecessary detours when the origin and destination are in different countries.

For example, with an origin near Detroit, Michigan (west side of Lake Erie) and a destination near Buffalo, New York, OSRM produces a detour:

Image

orhun-karapinar avatar Aug 27 '25 18:08 orhun-karapinar