-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is an obviously passable route, but OSRM returns "NoRoute." #6690
Comments
Does this work correctly if you remove the |
Without that parameter, it does the right thing on the demo server: http://map.project-osrm.org/?z=18¢er=10.728346%2C106.695517&loc=10.7288943%2C106.6963952&loc=10.7287811%2C106.6937228&hl=en&alt=0&srv=1 So I'm interested in what you're seeing in this case. |
yes,it gives below route result if i remove the 'exclude=toll' parameter But my scenario is to bypass toll, and I also made the following settings in bike.lua:
|
Thanks, I'm able to reproduce the problem. Will investigate further. |
So far I can see that:
This leads me to believe that it's a similar problem to #5969, where dynamic changes can expose random asymmetries in the contraction hierarchy forward/reverse graphs that can lead to routes not being found. I didn't fully investigate this as I assumed I was only seeing it in hypothetical test scenarios, but now we have a real-world example, it's worth investigating further. If feasible, you can switch to the MLD algorithm as an immediate workaround until a fix is available. |
I am using OSRM for route. From the OpenStreetMap, there is clearly a passable road, but the OSRM's response to the query is "NoRoute."
here is my osm data after simplify(.osm file is not supported and i changed it's suffix to txt):
map.txt
and i preprocess osm file with osrm-extract bike.lua/osrm-contract
codes for calling OSRM:
`
my env:
osrm: 5.27.1
MacOs 11.7.9
However, I've noticed a very peculiar phenomenon: if I remove any one of the roads mentioned in 1, 2, and 3, OSRM will return the expected result.It appears that the topological structure of the road network is affecting the results of OSRM.
The text was updated successfully, but these errors were encountered: