Make an exception for block barriers in bicycle and foot profile.

This adds `barrier=block` exceptions to the respective white lists.

In addition this adds tests to check for the exception in bicycle and
foot profiles and makes sure cars are still not able to cross them.

Checked with:

    cucumber --tags @barrier -p verify

References:

- https://github.com/Project-OSRM/osrm-backend/issues/1643
- http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dblock
This commit is contained in:
Daniel J. Hofmann
2015-09-07 12:20:50 +02:00
parent bcc41bf3d1
commit 345d5e8d9e
5 changed files with 5 additions and 2 deletions
+1
View File
@@ -19,6 +19,7 @@ Feature: Car - Barriers
| wall | |
| fence | |
| some_tag | |
| block | |
Scenario: Car - Access tag trumphs barriers
Then routability should be