-
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
Incorrect matching with hov-only roads #3587
Comments
I verified that hov ways are not considered (ie they are accessible) when ignore_hov_ways = false, so the profile seems to be behave correctly. (But the naming is a bit ambiguous, use_hov_lanes might be better.) |
I can also confirm that hov ways are being treated correctly in other areas, but the I-95 hov way is never getting used by the match call as far as I can tell. |
Looking at a few of the road segments on I-95. |
You can see what's available in the routing graph by looking at the debug map: http://map.project-osrm.org/debug/#15.79/38.9791/-76.3235 any edge that is snap-able is visible on that map as a coloured line. The background layer (in grey) is the full road network from OSM. Any place where you can see a grey line that looks like a road and isn't covered by a coloured line is a road edge that OSRM doesn't know about. HOV-only roads fall into this class, like this: http://map.project-osrm.org/debug/#16.53/38.52032/-77.37062 at this location, the central HOV-only lanes are not routable on the OSRM demo server. @stl-mikeyalexander you can grab yourself a copy of the https://github.com/Project-OSRM/osrm-frontend project and set up your own local map viewer to dig into this. |
Great tool. Thanks. So that confirms that the I-95 HOV lanes are not in the database and so the match call is doing the correct thing. What is wrong with these segments that osrm-backend doesn't process them when building the map? |
It's the Looking at the logic here is making my brain hurt: https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L306 It looks like @daniel-j-h did we accidentally flip the logic here? The |
yeah as i mentioned above, the naming seems ambiguous, "route_on_hov_lanes" might be better. but the functionality seems correct. |
We've re-worded the HOV avoidance flags in ref: #3721 |
hov_trip_call.zip
Attached a call which seems to give the incorrect results. When the vehicle moves to the HOV lane, the match fails.
Maps were prepared with (uncompressed output is also attached)
ignore_hov_ways = false
The text was updated successfully, but these errors were encountered: