TransportType
A TransportType
specifies the mode of transportation used for part of a route.
-
The route requires the user to drive or ride a car, truck, or motorcycle.
This is the usual transport type when the
profileIdentifier
isProfileIdentifier.automobile
orProfileIdentifier.automobileAvoidingTraffic
. -
The route requires the user to board a ferry.
The user should verify that the ferry is in operation. For driving and cycling directions, the user should also verify that their vehicle is permitted onboard the ferry.
-
The route requires the user to cross a movable bridge.
The user may need to wait for the movable bridge to become passable before continuing.
-
The route becomes impassable at this point.
You should not encounter this transport type under normal circumstances.
-
The route requires the user to walk.
This is the usual transport type when the
profileIdentifier
isProfileIdentifier.walking
. For cycling directions, this value indicates that the user is expected to dismount. -
The route requires the user to ride a bicycle.
This is the usual transport type when the
profileIdentifier
isProfileIdentifier.cycling
. -
The route requires the user to board a train.
The user should consult the train’s timetable. For cycling directions, the user should also verify that bicycles are permitted onboard the train.
-