Access to location dependent data in Lua via way:get_location_tags()

This commit is contained in:
Michael Krasnyk
2017-09-22 14:03:12 +02:00
parent 2059f7234a
commit 0f498d13f5
8 changed files with 58 additions and 68 deletions
+2 -3
View File
@@ -303,7 +303,7 @@ function process_node(profile, node, result)
end
end
function process_way(profile, way, result, relations, location_data)
function process_way(profile, way, result, relations)
-- the intial filtering of ways based on presence of tags
-- affects processing times significantly, because all ways
-- have to be checked.
@@ -387,8 +387,7 @@ function process_way(profile, way, result, relations, location_data)
WayHandlers.weights
}
print (profile, way, result, data, handlers, relations, location_data)
WayHandlers.run(profile, way, result, data, handlers, relations, location_data)
WayHandlers.run(profile, way, result, data, handlers, relations)
end
function process_turn(profile, turn)