Public Transit API Developer's Guide


LineSegments specifies a list of segments related to a specific line. A segment is a path between 2 adjacent stations on a line. See PathSeg for more details.

Two list of segments are provided: main and all. See the attribute type for further details.

Table 1. LineSegments Type Attributes
Attribute Always Included Type Description
type Yes LineSegmentsType Type attribute indicates if the segment is for the main segment or all the segments of a line.
seg_ids Yes IDREFS List of PathSeg@id or RefPathSeg@id elements.