You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I used a customized OSM file with 6 ways(117024096, 866851050, 210884329, 1079725575, 1094715491, 1094715088). I just tagged way 117024096 as a toll road (toll=yes). I used default car.lua and CH algo to build an OSRM server. When I called route API without any params, it returned a route with toll:
But when I added exclude=toll, an error occurred: {"NoRoute", "Impossible route between points"}.
However, after I modified the car.lua and deleted motorway and ferry from excludable, I can get the correct result:
To check this issue, I also set all these ways as not oneway road, this issue also can be fixed. MLD is ok too. So this is a specific issue in CH algo I think. The most perhaps function is contractGraph.
I'm still checking the code but I would appreciate if any guy could help me and point out the reason.
fenwuyaoji
changed the title
Contract multi-exclude filters bug leading to "Impossible route between points"
Contract bug leading to "Impossible route between points"
Oct 22, 2024
have tried with above unit test code which can 100% reproduce this problem. As shown in the assertion, edge 3->2(forward) and 7->2(reverse) have been deleted after contracting. So if we wanna find a route from 3 to 7, we'll get impossible route but actually there's a route 3->2->7.
not sure if it's a behavior what ch algorithm supposed to be or a bug of ch algorithm.
Issue
Hi, I used a customized OSM file with 6 ways(117024096, 866851050, 210884329, 1079725575, 1094715491, 1094715088). I just tagged way 117024096 as a toll road (
toll=yes
). I used default car.lua and CH algo to build an OSRM server. When I called route API without any params, it returned a route with toll:But when I added
exclude=toll
, an error occurred:{"NoRoute", "Impossible route between points"}
.However, after I modified the car.lua and deleted
motorway
andferry
from excludable, I can get the correct result:To check this issue, I also set all these ways as not oneway road, this issue also can be fixed. MLD is ok too. So this is a specific issue in CH algo I think. The most perhaps function is contractGraph.
I'm still checking the code but I would appreciate if any guy could help me and point out the reason.
Steps to reproduce
check the data on https://www.openstreetmap.org/#map=18/13.884394/100.650848
Please provide the steps required to reproduce your problem.
osrm-backend
version being used: commit d71e2830http://localhost:5001/route/v1/driving/100.65271,13.884891;100.64929,13.882496
http://localhost:5001/route/v1/driving/100.65271,13.884891;100.64929,13.882496?exclude=toll
Specifications
not an env-related issue.
The text was updated successfully, but these errors were encountered: