Darwin:Association Element: Difference between revisions

From Open Rail Data Wiki
Q (talk | contribs)
m Added category
m Add RID links
 
Line 3: Line 3:
== Overview ==
== Overview ==


Associations link two related trains together, and appear in the timetable and reference the RID of both trains.
Associations link two related trains together, and appear in the timetable and reference the [[RID]] of both trains.


== Detail ==
== Detail ==

Latest revision as of 09:12, 28 October 2023

Association element

Overview

Associations link two related trains together, and appear in the timetable and reference the RID of both trains.

Detail

When a train splits or joins en-route, or when the next working for that train is known, there will be an association in Darwin between the two trains. Associations are not necessarily present for every train schedule.

There may be more than one association on a train, in which case there will be more than one association message for that train. The location at which the association occurs is identified by the working time arrival (WTA) of the main train.

Example message

<Association tiploc="CLCHSTR" category="NP">
    <main rid="201501231641459" wta="22:52" pta="22:52" />
    <assoc rid="201501231641462" wtd="22:56" ptd="22:56" />
</Association>

Categories

There are three types of association:

Category Description
JJ Train joins
VV Train splits
NP Next train