Add api_version gloabal variable to profiles

Currently only `0` is supported (the default).
This commit is contained in:
Patrick Niklaus
2016-12-01 22:10:56 +00:00
committed by Patrick Niklaus
parent b9b52cb857
commit 0f3a463854
9 changed files with 29 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
api_version = 0
-- Bicycle profile
local find_access_tag = require("lib/access").find_access_tag
+2
View File
@@ -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
View File
@@ -1,3 +1,4 @@
api_version = 0
-- Foot profile
local find_access_tag = require("lib/access").find_access_tag
+1
View File
@@ -1,3 +1,4 @@
api_version = 0
-- Rasterbot profile
-- Minimalist node_ and way_functions in order to test source_ and segment_functions
+1
View File
@@ -1,3 +1,4 @@
api_version = 0
-- Rasterbot profile
-- Minimalist node_ and way_functions in order to test source_ and segment_functions
+1
View File
@@ -1,3 +1,4 @@
api_version = 0
-- Testbot profile
-- Moves at fixed, well-known speeds, practical for testing speed and travel times:
+2
View File
@@ -1,3 +1,5 @@
api_version = 0
-- Testbot, with turn penalty
-- Used for testing turn penalties