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
bicycle=yes/no should override highway and access tags #41
Comments
Thanks for the info. Perhaps it's time to develop a description language to model these dependencies. |
perhaps. i think user mostly just want to set the priority on different types of ways, turns, tags, etc. on the other hand it might be simpler to just parse tags differently depending on car/bike/foot. i don't think the tag parsing would need to change often. |
speedprofile.ini has a field accessTag, e.g. accessTag = bicycle. The following behavior is default now: if("no" == accessTag) { So, it has precedence over anything now when it's forbidden.See abfb498 |
a related problem is that when bicycle=yes overrides, there might not be any speed defined for the type of way. for example, a way might have highway=footway, bicycle=yes, but you haven't added footway to the speedprofile. osrm should route on the footway, but doesn't have any speed info for footway. adding footway to the speedprofile is not an option, because that turn on routing on all footways, instead of just those with bicycle=yes. |
Already working on a solution that integrates all ways that have for example bicycle=yes, but have an unlisted highway tag. Will take a day or two. |
Latest push to master has a number of changes that should implmement the |
i can't compile the latest using scons: scons: Building targets ... |
Missed a file in the commit. Try again |
This bug can be closed, right? |
yes, hereby closed. |
to have osrm even consider ways with highway=footway i need to add it to the speedprofile.
but now it seems osrm allows routing on all ways with highway=footway, even though there's no bicycle=yes tag.
bicycle=yes or bicycle=no should take precedence over the highway type, and also the acces=.. tag.
The text was updated successfully, but these errors were encountered: