Darwin:Association Element: Difference between revisions

From Open Rail Data Wiki
Line 9: Line 9:
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.
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 association.  The location at which the association occurs is identified by the working time arrival (WTA) of the main train.
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 ===
=== Example message ===

Revision as of 13:41, 8 February 2015

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