highway=motorway_link does not imply oneway, fixes #1662
References: - http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link#Tagging_oneway - http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_link - http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway
This commit is contained in:
@@ -318,7 +318,7 @@ function way_function (way, result)
|
||||
|
||||
-- direction
|
||||
local impliedOneway = false
|
||||
if junction == "roundabout" or highway == "mini_roundabout" or highway == "motorway_link" or highway == "motorway" then
|
||||
if junction == "roundabout" or highway == "mini_roundabout" or highway == "motorway" then
|
||||
impliedOneway = true
|
||||
end
|
||||
|
||||
|
||||
@@ -396,7 +396,6 @@ function way_function (way, result)
|
||||
oneway == "true" or
|
||||
junction == "roundabout" or
|
||||
highway == "mini_roundabout" or
|
||||
(highway == "motorway_link" and oneway ~="no") or
|
||||
(highway == "motorway" and oneway ~= "no") then
|
||||
result.backward_mode = mode.inaccessible
|
||||
|
||||
|
||||
Reference in New Issue
Block a user