Public Transit API Developer's Guide

RefPathSeg

RefPathSeg references to a previously defined PathSeg element.

Table 1. RefPathSeg Type Attributes
Attribute Always Included Type Description
id Yes ID Indicated ID of the element. All RefPathSeg returned will have a unique id.
seg_id Yes IDREF Reference to a PathSeg ID previoulsy defined.
reverse - Boolean When 1 this is a reverse reference that means from and to from the original PathSeg should be considered swapped. Same thing for the geometry present in the Graph element under PathSeg. The attribute is not included in the response if it's not a reverse reference, otherwise the value is 1.

The default is 0.

duration - TimeDelta Average run duration between the stations referenced. Real duration may vary depending on the day or time of the day.