Skip to content

Commit df0f407

Browse files
daniel-j-hTheMarex
authored andcommitted
Makes construction=minor ways routable again, see #4258
1 parent f9a8bcc commit df0f407

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

features/car/construction.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ Feature: Car - all construction tags the OpenStreetMap community could think of
1414
| primary | | yes | |
1515
| primary | no | | x |
1616
| primary | widening | | x |
17+
| primary | minor | | x |

profiles/lib/handlers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ function Handlers.handle_blocked_ways(way,result,data,profile)
520520
local construction = way:get_value_by_key('construction')
521521

522522
-- Of course there are negative tags to handle, too
523-
if construction and construction ~= 'no' and construction ~= 'widening' then
523+
if construction and construction ~= 'no' and construction ~= 'widening' and construction ~= 'minor' then
524524
return false
525525
end
526526
end

0 commit comments

Comments
 (0)