Makes construction=minor ways routable again, see #4258

This commit is contained in:
Daniel J. Hofmann 2017-07-19 13:11:03 +02:00 committed by Patrick Niklaus
parent cfa2a63323
commit ababeb3a69
2 changed files with 2 additions and 1 deletions

View File

@ -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 |

View File

@ -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