fix profile debugging related to way classes

This commit is contained in:
Emil Tin 2017-07-20 11:04:56 +02:00 committed by Daniel J. Hofmann
parent f7c8bac3fd
commit f609905267

View File

@ -10,9 +10,6 @@ local pprint = require('lib/pprint')
-- globals that are normally set from C++
-- profiles code modifies this table
properties = {}
-- should match values defined in include/extractor/guidance/road_classification.hpp
road_priority_class = {
motorway = 0,
@ -123,6 +120,8 @@ function Debug.process_way(way,result)
result.forward_speed = -1
result.backward_speed = -1
result.duration = 0
result.forward_classes = {}
result.backward_classes = {}
-- intercept tag function normally provided via C++
function way:get_value_by_key(k)