From c3d0efda936b94b0f05e69a78e00695c6bc167fe Mon Sep 17 00:00:00 2001 From: MichalPP Date: Sat, 12 May 2018 13:33:08 +0200 Subject: [PATCH] change barrier_whitelist to barrier_blacklist --- profiles/bicycle.lua | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/profiles/bicycle.lua b/profiles/bicycle.lua index f08bcebe26d..0cd3a62c9be 100644 --- a/profiles/bicycle.lua +++ b/profiles/bicycle.lua @@ -38,20 +38,10 @@ function setup() mode.pushing_bike }, - barrier_whitelist = Set { - 'sump_buster', - 'bus_trap', - 'cycle_barrier', - 'bollard', - 'entrance', - 'cattle_grid', - 'border_control', - 'toll_booth', - 'sally_port', - 'gate', - 'lift_gate', - 'no', - 'block' + barrier_blacklist = Set { + 'yes', + 'wall', + 'fence' }, access_tag_whitelist = Set { @@ -245,7 +235,7 @@ function process_node(profile, node, result) else local barrier = node:get_value_by_key("barrier") if barrier and "" ~= barrier then - if not profile.barrier_whitelist[barrier] then + if profile.barrier_blacklist[barrier] then result.barrier = true end end