Add flag to allow skipping calling node function for nodes with no tags.

This commit is contained in:
Daniel Patterson
2017-06-12 23:46:29 +02:00
committed by Patrick Niklaus
parent 5c8e2b6f78
commit cd8fb82215
9 changed files with 41 additions and 3 deletions
+6
View File
@@ -20,6 +20,12 @@ properties.weight_name = 'routability'
-- For shortest distance without penalties for accessibility
--properties.weight_name = 'distance'
-- Set to true if you need to call the node_function for every node.
-- Generally can be left as false to avoid unnecessary Lua calls
-- (which slow down pre-processing).
properties.call_tagless_node_function = false
local profile = {
default_mode = mode.driving,
default_speed = 10,