allowing access tags on unknown highways
This commit is contained in:
parent
c83ab666d7
commit
64d14da0fa
@ -166,7 +166,7 @@ function way_function (way, numberOfNodesInWay)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Set the avg speed on ways that are marked accessible
|
-- Set the avg speed on ways that are marked accessible
|
||||||
if speed_profile[highway] and access_tag_whitelist[access] and way.speed == -1 then
|
if "" ~= highway and access_tag_whitelist[access] and way.speed == -1 then
|
||||||
if (0 < maxspeed and not take_minimum_of_speeds) or maxspeed == 0 then
|
if (0 < maxspeed and not take_minimum_of_speeds) or maxspeed == 0 then
|
||||||
maxspeed = math.huge
|
maxspeed = math.huge
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user