fix profile debugging related to way classes
This commit is contained in:
parent
f7c8bac3fd
commit
f609905267
@ -10,9 +10,6 @@ local pprint = require('lib/pprint')
|
|||||||
|
|
||||||
-- globals that are normally set from C++
|
-- globals that are normally set from C++
|
||||||
|
|
||||||
-- profiles code modifies this table
|
|
||||||
properties = {}
|
|
||||||
|
|
||||||
-- should match values defined in include/extractor/guidance/road_classification.hpp
|
-- should match values defined in include/extractor/guidance/road_classification.hpp
|
||||||
road_priority_class = {
|
road_priority_class = {
|
||||||
motorway = 0,
|
motorway = 0,
|
||||||
@ -123,6 +120,8 @@ function Debug.process_way(way,result)
|
|||||||
result.forward_speed = -1
|
result.forward_speed = -1
|
||||||
result.backward_speed = -1
|
result.backward_speed = -1
|
||||||
result.duration = 0
|
result.duration = 0
|
||||||
|
result.forward_classes = {}
|
||||||
|
result.backward_classes = {}
|
||||||
|
|
||||||
-- intercept tag function normally provided via C++
|
-- intercept tag function normally provided via C++
|
||||||
function way:get_value_by_key(k)
|
function way:get_value_by_key(k)
|
||||||
|
Loading…
Reference in New Issue
Block a user