Permalink
Browse files

allowing access tags on unknown highways

  • Loading branch information...
1 parent c83ab66 commit 64d14da0fa66d476a17dd3285972ab795c1676ee DennisOSRM committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 profiles/car.lua
View
@@ -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

0 comments on commit 64d14da

Please sign in to comment.