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 committed Jul 19, 2017
1 parent 440dccb commit dd95e5c
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/way_handlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd95e5c

Please sign in to comment.