Implement route relation parse in car.lua

This commit is contained in:
Denis Koronchik
2017-09-05 16:41:55 +03:00
committed by Daniel Patterson
parent fa1a4e8bf6
commit 7078ebd2cb
2 changed files with 70 additions and 3 deletions
+20
View File
@@ -0,0 +1,20 @@
-- Profile functions dealing with various aspects of relation parsing
--
-- You can run a selection you find useful in your profile,
-- or do you own processing if/when required.
Relations = {}
function Relations.Merge(relations)
local result = {}
for _, r in ipairs(relations) do
for k, v in pairs(r) do
result[k] = v
end
end
return result
end
return Relations