Skip to content

Commit

Permalink
Makes construction=minor ways routable again, see #4258
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-j-h authored and TheMarex committed Jul 19, 2017
1 parent f9a8bcc commit df0f407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions features/car/construction.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
2 changes: 1 addition & 1 deletion profiles/lib/handlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ function Handlers.handle_blocked_ways(way,result,data,profile)
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
Expand Down

0 comments on commit df0f407

Please sign in to comment.