Skip to content

Commit

Permalink
Merge pull request #1338 from frodrigo/develop
Browse files Browse the repository at this point in the history
Black list access=psv for car profile
  • Loading branch information
DennisOSRM committed Jan 9, 2015
2 parents bea4b52 + 26f7ac9 commit 7e70fa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions features/car/access.feature
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Feature: Car - Restricted access
| private | |
| agricultural | |
| forestry | |
| psv | |
| some_tag | x |


Expand All @@ -106,6 +107,7 @@ Feature: Car - Restricted access
| private | |
| agricultural | |
| forestry | |
| psv | |
| some_tag | x |

Scenario: Car - Access tags on both node and way
Expand Down
2 changes: 1 addition & 1 deletion profiles/car.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true }
access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true }
access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["emergency"] = true }
access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["emergency"] = true, ["psv"] = true }
access_tag_restricted = { ["destination"] = true, ["delivery"] = true }
access_tags = { "motorcar", "motor_vehicle", "vehicle" }
access_tags_hierachy = { "motorcar", "motor_vehicle", "vehicle", "access" }
Expand Down

0 comments on commit 7e70fa6

Please sign in to comment.