Intermodal Services & Transport Types

The Intermodal Routing API v8 offers the following intermodal routing services:

Each intermodal routing service is the result of the concatenation of multiple transport types of the Intermodal Routing API v8. When you request an intermodal route, you can either let the intermodal router select the optimal combination of transport types with regards to the time when the request is fired and the availability of modes of transport in your area, or you can decide, according to your needs, what transport type should appear in which section of the intermodal route.

The following table shows the transport types available in the Intermodal Routing API v8.

Table 1. List of intermodal transport types and corresponding description

Transport type Description
vehicle For instance, your private car
transit This is used to customize public transport related modes of transport
taxi This is used to customize taxi related modes of transport
rented This is used to customize ride-sharing related modes of transport

For more information on the modes of transport of the Intermodal Routing API v8, see the Modes of Transport section.

Enable a transport type

The Intermodal Routing API v8 allows you to choose when a specific transport type should be enabled in the intermodal route as follows:

  • <transport-type>[enable]=routeHead: enables in the first section of the intermodal route
  • <transport-type>[enable]=routeTail: enables in the last section of the intermodal route
  • <transport-type>[enable]=entireRoute: enables for the entire intermodal route.

Note

Beside the transport type vehicle, all other transport types are enabled by default for each section of the response (routeHead, routeTail, and entireRoute). This means that the Park and Ride and Bike Share and Ride services are NOT enabled by default. Thus, you need to disable taxi and rented transport types if you do not want them in the response.

Disable a transport type

The Intermodal Routing API v8 allows you to choose when a specific transport type should be disabled in the intermodal route as follows:

  • <transport-type>[enable]=: disables by assigning an empty value to the parameter
  • <transport-type>[modes]=: disables by assigning an empty value to the parameter. This approach disable all modes of transport.

Note

While both options to disable transport types produce the same result, we recommend the first option using <transport-type>[enable]=.

results matching ""

    No results matching ""