From dd95e5c09574ea8bcda2c06b93fe3c0d7914fb4c Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Wed, 19 Jul 2017 13:11:03 +0200 Subject: [PATCH] Makes construction=minor ways routable again, see #4258 --- features/car/construction.feature | 1 + profiles/lib/way_handlers.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/features/car/construction.feature b/features/car/construction.feature index d511b63974b..0ae2a5d429f 100644 --- a/features/car/construction.feature +++ b/features/car/construction.feature @@ -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 | diff --git a/profiles/lib/way_handlers.lua b/profiles/lib/way_handlers.lua index 61ebefd8b23..4c824800daa 100644 --- a/profiles/lib/way_handlers.lua +++ b/profiles/lib/way_handlers.lua @@ -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