-
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
in foot profile, change barrier_whitelist to barrier_blacklist #3890
Comments
what are examples of barriers that are currently incorrectly blocking pedestrian routing? |
looking at data of Slovakia, it is rather a long list: some of them are spelling errors and wrong mapping, but still it is a long list. while the blacklist is rather small (yes, fence, wall). database query was |
for pedestrians i agree most of these should be allowed, although we should go through the list and consider if some should be blacklisted. for bikes i think it also makes sense to move to a blacklist, although it's harder to decide what needs to be blacklisted. i think stiles and certainly full-height turnstiles http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dfull-height_turnstile should be blacklisted for bikes. but stuff like http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dswing_gate is more of a grey area. if they are closed and you can't go around them, it's certainly not very practical to pass on a bike. |
I did some data checking for SK:
for foot, I would blacklist those that should be on ways only for bicycle, I am not sure. they should be connected to fyi, the query was |
cycle_barrier is usuallly quite easy to pass on bike, even though it might slow you down, see e.g. the photo here: http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcycle_barrier. so i wouldn't blacklist that (unless you're on a cargo bike, which is different story anyways.) |
after running very short list of blacklist, the only problem is with |
Check out #3913 - there is a set of restricted tags we set high turn penalties on - but it's based on restricted way tags, think: You could also handle |
@daniel-j-h afaik turn penalty only works if the tags are on way. this bug is about tags on nodes (and sane defaults for foot/bike profile). #3862 would solve adding turn penalty based on node. |
Just a quick datapoint: I've been debugging a car routing issue which was caused by someone inventing a new tag ( Arguably this is a mapping error but it might be worth considering whether this makes car routing too fragile. OSRM could potentially move to a blacklist for car routing too, at least on |
change barrier_whitelist to barrier blacklist in foot profile fix Project-OSRM#5067 and Project-OSRM#3890 and Project-OSRM#4823
I am also seeing an issue where barrier=height_restrictor is blocking foot routing. Here for example https://map.project-osrm.org/?z=17¢er=52.617612%2C-2.447741&loc=52.615895%2C-2.441679&loc=52.615315%2C-2.442280&hl=en&alt=0&srv=2 Does barrier=height_restrictor into a whitelist in foot.lua? |
This issue seems to be stale. It will be closed in 30 days if no further activity occurs. |
Looks like this simply never was closed, despite being done in 918e794. |
current whitelisting of barrier serves well for car routing, but due to man barrier types focused on pedestrians (and connected spelling errors), it is very inconvenient to keep a whitelist.
the proposal is to change it to blacklist, and allow
foot
routing over all mapping and spelling errors.@emiltin what about bicycle profile? should it be blacklist or whitelist?
The text was updated successfully, but these errors were encountered: