VRt.Routing [RO] (6.14.2135)

Description

VRt.Routing is designed to find a route between locations and build time-distance matrices.

Features

  • Getting the distance and time between two locations, including traffic jams
  • Finding a route between specified locations
  • Creating a time-distance matrix

Entity relationship diagram

erd

Route

Building a path of movement between geographic points.

Route between points

Building a route between locations considering taking traffic jams.

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required

New request for route calculation.

required
Array of objects (waypoint) [ 2 .. 15001 ] items

Array of geographical points to build path between them.

transport_type
string (transport_type)
Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 9 more

Transport types:

  • CAR - car
  • TRUCK_1500 - truck with permissible weight 1500 kg
  • TRUCK_3000 - truck with permissible weight 3000 kg
  • TRUCK_5000 - truck with permissible weight 5000 kg
  • TRUCK_10000 - truck with permissible weight 10000 kg
  • TRUCK_20000 - truck with permissible weight 20000 kg
  • TRUCK_GARBAGE_1 - truck for transporting garbage (type 1)
  • TRUCK_GARBAGE_2 - truck for transporting garbage (type 2)
  • TUK_TUK - tuk-tuk
  • BICYCLE - bicycle
  • PEDESTRIAN - pedestrian
  • PUBLIC_TRANSPORT - public transport

Permissible weight is the weight of the equipped transport with cargo and driver, set by the manufacturer as the maximum allowable.

object (geo_settings)

Geodata usage settings.

departure_time
string or null<date-time>

Departure date and time according to the ISO 8601.

result_timezone
integer<int32> [ -12 .. 12 ]
Default: 0

Time zone for calculation results.

detail
boolean
Default: false

Planning a detailed route.

full_segments
boolean
Default: true

Return full segments list.

polyline
boolean
Default: true

Generate a polyline between points.

Responses

Response Schema: application/json
required
object (tracedata)

Data for request tracing.

required
object (route)

Information about the planned route.

Request samples

Content type
application/json
{
  • "transport_type": "CAR",
  • "detail": true,
  • "polyline": true,
  • "waypoints": [