Skip to content

ors.engine.profiles.<profile>.service

Properties beneath ors.engine.profiles.<profile>.service represent parameters relevant when querying services that need to be set specifically for each profile. More parameters relevant at query time can be found in the ors.endpoints section.

keytypedescriptiondefault value
maximum_distancenumberThe maximum allowed total distance of a route100000
maximum_distance_dynamic_weightsnumberThe maximum allowed distance between two way points when dynamic weights are used100000
maximum_distance_avoid_areasnumberThe maximum allowed distance between two way points when areas to be avoided are provided100000
maximum_distance_alternative_routesnumberThe maximum allowed total distance of a route for the alternative routes algorithm100000
maximum_distance_round_trip_routesnumberThe maximum allowed total distance of a route for the round trip algorithm100000
maximum_way_pointsnumberThe maximum number of way points in a request50
maximum_snapping_radiusnumberMaximum distance around a given coordinate to find connectable edges400
maximum_visited_nodesnumberOnly for public-transport profile: maximum allowed number of visited nodes in shortest path computation1000000
force_turn_costsbooleanShould turn restrictions be obeyedfalse
executionobjectExecution settings relevant when querying services

execution

Properties beneath ors.engine.profiles.<profile>.service.execution represent options specific for certain algorithms.

methods.astar

Parameters for beeline approximation in the A* routing algorithm.

Properties beneath ors.engine.profiles.<profile>.service.execution.methods.astar:

keytypedescriptiondefault value
approximationstringMethod to use for distance approximation. Can be either the faster BeelineSimplification or the more precise but slower BeelineAccurateBeelineSimplification
epsilonnumberFactor to use for distance approximation1

methods.lm

Settings for using landmarks in routing.

Properties beneath ors.engine.profiles.<profile>.service.execution.methods.lm:

keytypedescriptiondefault value
active_landmarksnumberNumber of landmarks used for computing the route8

methods.core

Settings for using landmarks in routing using the Core-ALT algorithm.

Properties beneath ors.engine.profiles.<profile>.service.execution.methods.core:

keytypedescriptionexample value
active_landmarksnumberNumber of landmarks used for computing the route6