TransXChange
Examples 2.0d - Eye route
Summary
An eye shaped route, with two alternative branches.
- Multiple routes composed of some shared route sections.
- Multiple journey patterns composed of some shared journey pattern sections.
- Stop Sequence Numbers to control the timetable presentation matrix.
- Bilingual stop names.
Published as: PDF
Route Map

Timetable
| Journey | SequenceNumber | ||||
|---|---|---|---|---|---|
| 1C | 1D | # | |||
| A | 10:00 | 11:00 | 1 | ||
| B | 10:05 | 11:05 | 2 | ||
| C | 10:10 | ------- | 3 | ||
| D | ------- | 11:02 | 4 | ||
| E | 10:15 | 11:17 | 5 | ||
| F | 10:20 | 11:22 | 6 | ||
The XML Representation
- There is a single Service instance SV1 , with two Line instances: ' 1C' and '1D' .
- There are four RouteSection instances, RS1-RS4,
with RouteLink instances to connect the six stops. See Diagram.
- RS1 has RL1 only, connecting A-B .
- RS2 has RL2 & RL3 , connecting B-C-E.
- RS3 has RL5 & RL6 , connecting B-D-E.
- RS4 has RL4 only, connecting D-F .
- There are two Route instances;
- R1, comprising RouteSectioninstances RS1-RS2-RS4, such that the route links run A-B-C-E-F.
- R2 ,comprising RouteSectioninstances RS1-RS3-RS4, such that the route links run A-B-D-E-F.
- There are four JourneyPatternSection instances JS1-JS4 ; corresponding to the route sections, and containing JourneyPatternTimingLinkinstances. JPTL1 - JPTL6, which project onto the respective RouteLink instances RL1-RL6.
- There are two JourneyPattern instances
- JP1 running A-B-C-E-F over R1 , and comprising JourneyPatternSection
instances JS1-JS2-JS4 , with timings on each of the timing links. A preferred stop sequence
is specified:
JP1 = JS1[[RL1: JPTL1[ 5mn, from: 1, to: 2]]] + JS2[[RL2: JPTL2[5mn, from:2, to: 3]], [RL3: JPTL3[5mn, from:3, to: 5]]] + JS4[[RL4: JPTL4[5mn, from:5, to: 6]]]
- JP2 running A-B-D-E-F over R2 , and comprising JourneyPatternSection instances JS1-JS3-JS4 A with timings on each of the timing links. A preferred stop sequence is specified:
JP1 = JS1[[RL1: JPTL1[5mn, from:1, to: 2]]] + JS3[[RL5: JPTL5[7mn, from:2, to: 4]], [RL6: JPTL6[5mn, from:4, to: 5]]] + JS4[[RL4: JPTL4[5mn, from:5, to: 6]]]
- JP1 running A-B-C-E-F over R1 , and comprising JourneyPatternSection
instances JS1-JS2-JS4 , with timings on each of the timing links. A preferred stop sequence
is specified:
- There are two VehicleJourney instances, one follows JP1, one follows JP2.
Section Reuse

Alternative Representation
The following shows the same example published without explicit stop sequences numbers
Unsequenced XML | published as PDF
Page last updated: 2005/11/01


