Public Transit API Developer's Guide

PathSeg

PathSeg specifies a single transit path between two stops. The two stop IDs are available in the properties from and to and you can get further information about them on the Stations section of the response.

Table 1. PathSeg Type Attributes
Attribute Always Included Type Description
id Yes ID Indicates ID of the element. All PathSeg returned will have a unique ID.
from Yes StationId Origin station ID for the path.
to Yes StationId Destination station ID for the path.
duration - TimeDelta Average run duration between the stations from and to. Real duration may vary depending on the day or time of the day.
Table 2. PathSeg Type Elements
Element Always Included Type Description
Graph - Graph It contains the real geometry of the trasit line. When this element is not present, the real geometry is not available and the user can use the stops' location to draw a straight line.

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.