osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

barrier=gate and barrier=lift_gate should not be whitelisted in car profile

Open flohoff opened this issue 1 year ago • 2 comments

Hi, currently in car profile barrier=gate and barrier=lift_gate are per-se whitelisted which means one can not use access tag on that note.

These 2 types of barriers should be processed with access tags in mind as they may be typically open so usable by the public, or they may be typically closed meaning its not usable by the public.

With the whitelisting in place there is no way to prohibit the OSRM car routing from using that path other then tagging the way, which may be completely okay to use for the public.

So please remove the whitelisting for these 2 types of barriers.

This is the commit i am running now with:

https://github.com/flohoff/osrm-backend/commit/0eabdc96ff15ac2561edecb56dfa06361fcb228b

Flo

flohoff avatar Dec 31 '23 11:12 flohoff

This bug was motivated by the Community Forum posting

https://community.openstreetmap.org/t/osrm-routing-durch-tore-hindurch/107573

Valhalle and Graphhopper both honor the barrier=gate + access=private

Flo

flohoff avatar Dec 31 '23 11:12 flohoff

Thats the commit i am running with now:

https://github.com/Project-OSRM/osrm-backend/commit/0eabdc96ff15ac2561edecb56dfa06361fcb228b

flohoff avatar Jan 03 '24 12:01 flohoff