Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allowing access tags on unknown highways

  • Loading branch information...
commit 64d14da0fa66d476a17dd3285972ab795c1676ee 1 parent c83ab66
DennisOSRM authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  profiles/car.lua
View
2  profiles/car.lua
@@ -166,7 +166,7 @@ function way_function (way, numberOfNodesInWay)
end
-- 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
maxspeed = math.huge
end
Please sign in to comment.
Something went wrong with that request. Please try again.