Add api_version gloabal variable to profiles
Currently only `0` is supported (the default).
This commit is contained in:
committed by
Patrick Niklaus
parent
b9b52cb857
commit
0f3a463854
@@ -1,3 +1,5 @@
|
||||
api_version = 0
|
||||
|
||||
-- Bicycle profile
|
||||
|
||||
local find_access_tag = require("lib/access").find_access_tag
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
api_version = 0
|
||||
|
||||
-- Car profile
|
||||
local find_access_tag = require("lib/access").find_access_tag
|
||||
local get_destination = require("lib/destination").get_destination
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
api_version = 0
|
||||
-- Foot profile
|
||||
|
||||
local find_access_tag = require("lib/access").find_access_tag
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
api_version = 0
|
||||
-- Rasterbot profile
|
||||
|
||||
-- Minimalist node_ and way_functions in order to test source_ and segment_functions
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
api_version = 0
|
||||
-- Rasterbot profile
|
||||
|
||||
-- Minimalist node_ and way_functions in order to test source_ and segment_functions
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
api_version = 0
|
||||
-- Testbot profile
|
||||
|
||||
-- Moves at fixed, well-known speeds, practical for testing speed and travel times:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
api_version = 0
|
||||
|
||||
-- Testbot, with turn penalty
|
||||
-- Used for testing turn penalties
|
||||
|
||||
|
||||
Reference in New Issue
Block a user