Makes construction=minor ways routable again, see #4258
This commit is contained in:
parent
cfa2a63323
commit
ababeb3a69
@ -14,3 +14,4 @@ Feature: Car - all construction tags the OpenStreetMap community could think of
|
||||
| primary | | yes | |
|
||||
| primary | no | | x |
|
||||
| primary | widening | | x |
|
||||
| primary | minor | | x |
|
||||
|
@ -521,7 +521,7 @@ function WayHandlers.blocked_ways(profile,way,result,data)
|
||||
local construction = way:get_value_by_key('construction')
|
||||
|
||||
-- Of course there are negative tags to handle, too
|
||||
if construction and construction ~= 'no' and construction ~= 'widening' then
|
||||
if construction and construction ~= 'no' and construction ~= 'widening' and construction ~= 'minor' then
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user