メインコンテンツまでスキップ

Routing engine settings use to specify configuration of the routing engine

routing_engine_namestringrequired

Name of the engine to be used.

Possible values: [euclidian, euclidian_geo, asteria, graphhopper, mapbox, valhalla, osrm, osrme, google, here, spheroid, spheriodtd, tomtom]

Default value: asteria
road_networkstringrequired

Road network to be used by the routing engine (routing profile)

Default value: osrme
keystringrequired

API key for the mapping service

Default value: null
urlstringrequired

URL of the routing engine to request the data from

Default value: http://mapbox-osrm-proxy
curbboolean

Sets approacch values in the resuts to unrestricted with false, and curb with true value. The approaches are set only for the first and the last stop in the trip

Default value: null
intermediate_curbboolean

Sets approacch values in the resuts to unrestricted with false, and curb with true value. The approaches are set for all waypoints in a trip except for the first and the last stop

Default value: null
continue_straightboolean

Applies continue_straight flag to the routing request. WHen set to null default map setting is applied.

Default value: null
speednumber | nullnullable

Speed value used by the routing engine if fiexed speed is enabled with use_speed_in_routing flga

Default value: 0
time_factornumber

Can be used to manually adjust the time needed to move between waypoints compared to what the routing engine provides based on the vehicle profile.

Default value: 1
make_depot_zeroboolean
Default value: true
batch_matrix_sizeinteger

Defines size of the matix to request from the routing engine with a single request for optimization purposes

Default value: 250
osrme_timestamp_modestring

Defines default timestamp type to be used for requesting the route

Default value: start_time
use_speed_in_routingboolean

If enabled, forces the routing engine to use fixed speed and disregard speeds from the map

Default value: false
Routing engine settings use to specify configuration of the routing engine
{
"routing_engine_name": "asteria",
"road_network": "osrme",
"key": null,
"url": "http://mapbox-osrm-proxy",
"curb": null,
"intermediate_curb": null,
"continue_straight": null,
"speed": 0,
"time_factor": 1,
"make_depot_zero": true,
"batch_matrix_size": 250,
"osrme_timestamp_mode": "start_time",
"use_speed_in_routing": false
}