Skip to content

ors.engine

Engine properties are required at graph-build time during startup.

openrouteservice can simultaneously run a number of different profiles, each with its own set of parameters. The profiles are defined in the profiles section of the configuration file. The profile_default section is used to define default values for all profiles. The profiles section is used to define specific values for individual profiles. See profiles for more information.

keytypedescriptiondefault value
init_threadsnumberThe number of threads used to initialize (build/load) graphs. Higher numbers requires more RAM1
preparation_modebooleanIf set, graphs and preparations will be built, but the application will shut down immediately afterwards without starting up any servicesfalse
config_outputstringIf set, the default configuration values are written to a file named as the value. The application will shut down immediately afterwards without starting up any services. See configuration page for details.
graphs_data_accessstringDefines how a DataAccess object is created.
- MMAP: memory mapped storage
- RAM_STORE: in-memory storage with a safe/flush option.
Further info in the source code
RAM_STORE
elevationobjectSee elevation properties
graph_managementobjectSee graph management properties
profile_defaultobjectDescribed in profiles
profilesobjectDescribed in profiles