Enable toll roads by default again.

Currently we don't route over the Golden Gate bridge by default.
This sets the value to false by default. To test the behavior for
tolls when ignored, we would need issue #2781 implemented.
This commit is contained in:
Patrick Niklaus 2016-08-18 16:48:17 +02:00
parent 38fef77d70
commit 12d478784b
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B
2 changed files with 9 additions and 3 deletions

View File

@ -156,9 +156,15 @@ Feature: Car - Restricted access
| primary | yes | x |
| primary | no | x |
Scenario: Car - these toll roads always work
Then routability should be
| highway | toll | bothw |
| primary | no | x |
| primary | snowmobile | x |
# To test this we need issue #2781
@todo
Scenario: Car - only toll=yes ways are ignored by default
Then routability should be
| highway | toll | bothw |
| primary | yes | |
| primary | no | x |
| primary | snowmobile | x |

View File

@ -150,7 +150,7 @@ local turn_bias = properties.left_hand_driving and 1/1.2 or 1.2
local obey_oneway = true
local ignore_areas = true
local ignore_hov_ways = true
local ignore_toll_ways = true
local ignore_toll_ways = false
local abs = math.abs
local min = math.min