remove barrier things
This commit is contained in:
parent
068e240739
commit
acdfadb3aa
@ -39,10 +39,20 @@ function setup()
|
|||||||
mode.pushing_bike
|
mode.pushing_bike
|
||||||
},
|
},
|
||||||
|
|
||||||
barrier_blacklist = Set {
|
barrier_whitelist = Set {
|
||||||
'yes',
|
'sump_buster',
|
||||||
'wall',
|
'bus_trap',
|
||||||
'fence'
|
'cycle_barrier',
|
||||||
|
'bollard',
|
||||||
|
'entrance',
|
||||||
|
'cattle_grid',
|
||||||
|
'border_control',
|
||||||
|
'toll_booth',
|
||||||
|
'sally_port',
|
||||||
|
'gate',
|
||||||
|
'lift_gate',
|
||||||
|
'no',
|
||||||
|
'block'
|
||||||
},
|
},
|
||||||
|
|
||||||
access_tag_whitelist = Set {
|
access_tag_whitelist = Set {
|
||||||
@ -235,8 +245,8 @@ function process_node(profile, node, result)
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
local barrier = node:get_value_by_key("barrier")
|
local barrier = node:get_value_by_key("barrier")
|
||||||
if barrier and "" ~= barrier then
|
if barrier and "" ~= barrier then
|
||||||
if profile.barrier_blacklist[barrier] then
|
if not profile.barrier_whitelist[barrier] then
|
||||||
result.barrier = true
|
result.barrier = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user