Routing API Developer's Guide

PublicTransportManeuverType

This type represents a maneuver relevant for public transport such as bus, train. This type is derived from the abstract type ManueverType.

Three different types of public transport maneuvers are supported: "Enter", "Change" and "Leave" (see enumeration type PublicTransportActionType ). A direct change between two transport lines is represented with two maneuvers: one for the action "Leave" and a subsequent one to "Enter" the next transport line.

Figure 1. PublicTransportManeuverType This image shows a graphical representation of the Public Transport Maneuver Type.

In addition to its base type ManueverType, the PublicTransportManeuverType defines the following attributes:

Element Description
Action PublicTransportActionType

Identifier for the action to be performed at this maneuver.

StopName xs:string

Name of the stop where the user has to leave (action == "Leave"), change (action == "Change") or enter (action == "Enter") the transport line.

ArrivalPlatform xs:string

Platform name where the transport line arrives at a station. Applicable for "Leave" and "Change" maneuvers.

DeparturePlatform xs:string

Platform name where the transport line departs from a station. Applicable for "Enter" and "Change" maneuvers.

Line ElementReferenceType

Reference key to the PublicTransportLine object. To reduce data volume, the PublicTransport element is not directly embedded in the ManeuverType object, but is swapped out into the Route element.

ToLine ElementReferenceType

Reference key to the PublicTransportLine object for the target line. This element is only provided in case of a "change" Maneuver (action == "Change" and if returning of "change" maneuvers has been requested using the "CombineChange" flag in PublicTransportProfile . To reduce data volume, the PublicTransport element is not directly embedded in the ManeuverType object, but is swapped out into the Route element.

AccessPointName xs:string

Name of the access point where the user has to enter or leave the public transport station. Presence of this attribute depends on data availability.

NextRoadName xs:string

Name of the road towards which the exit should be taken for action="Leave".

WaitTime common:DurationType

Waiting time in seconds applicable to the current maneuver. Represents time between start time of maneuver (attribute time) and actual transit departure time.

TimeEstimatePrecision common:DurationType

When a public transport leg contains estimated times, this value contains the maximum deviation possible. If any maneuver contains a value for this field, then the flag containsTimeEstimate will be listed in the publicTransportFlags list of the route summary.

Ticket ElementReferenceType

A list of reference keys to all PublicTransportTicket objects that correspond to the public transport journey starting at this maneuver, i.e. "Enter" and "Change" maneuvers when some ticket covers this maneuver. References are in the format Tx.y where Tx is a set of tickets from the PublicTransportTickets section and Tx.y is one PublicTransportTicket within that set. If PublicTransportTickets are provided for a route and an Enter / Change maneuver does not have a "Ticket" element, then ticket information for this part of the journey is not available.

DepartureDelay common:DurationType

Departure delay in seconds applicable to the current maneuver. Represents the difference between the actual transit departure time taken from the real time information and the scheduled departure time. The delay can have negative value, meaning that the public transport departed earlier than scheduled. If the real time information is not available or the delay is zero, the DepartureDelay element is missing.

ArrivalDelay common:DurationType

Arrival delay in seconds applicable to the current maneuver. Represents the difference between the actual transit arrival time taken from the real time information and the scheduled arrival time. The delay can have negative value, meaning that the public transport arrived earlier than scheduled. If the real time information is not available or the delay is zero, the ArrivalDelay element is missing.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.