Input

Get Travel Directions takes route points, which include starting and ending latitudes and longitudes as input. The following table provides information on the format and layout of the input.

Note: If you intend to interact with the GetTravelDirections service, note that it is only available as a web service. The Get Travel Directions service is not available through the Java, C++, C, .NET, or COM APIs.
Table 1. Get Travel Directions Input Data

Field Name

Format

Description

RoutePoints

List

A schema containing the latitude string and the longitude string.

For information on creating a process list, see the Spectrum Technology Platform Dataflow Designer's Guide.

Language

String

Specifies the language in which Get Travel Directions should return directions. Specify one of the Travel direction language codes.

Note: An entry in this input field will override an entry in the Default Language option.
TollRoad Boolean This feature specifies whether you want a route with or without a toll road. This is a Boolean type parameter. The default vale is False. If you set the value of TollRoad to True, the response contains a route without any toll roads. If the value of TollRoad is set to False, the route includes toll roads.

Travel direction language codes

sq
Return directions in Albanian.
zh_CN
Return directions in Chinese.
zh_TW
Return directions in Chinese (Taiwan).
hr
Return directions in Croatian.
cs
Return directions in Czech.
da
Return directions in Danish.
nl
Return directions in Dutch.
en
Return directions in English. Default
en-US
Return directions in American English.
et
Return directions in Estonian.
fi
Return directions in Finnish.
fr
Return directions in French.
de
Return directions in German.
hu
Return directions in Hungarian.
it
Return directions in Italian.
ja
Return directions in Japanese.
lv
Return directions in Latvian.
lt
Return directions in Lithuanian.
no
Return directions in Norwegian.
pt
Return directions in Portuguese.
ro
Return directions in Romanian.
sk
Return directions in Slovak.
sl
Return directions in Slovenian.
es
Return directions in Spanish.
sv
Return directions in Swedish.
ru
Return directions in Russian.
tr
Return directions in Turkish.