Difference between revisions of "Darwin:Association Element"

From Open Rail Data Wiki
Jump to navigation Jump to search
m (Added category)
Line 35: Line 35:
 
|Next train
 
|Next train
 
|}
 
|}
 +
 +
[[Category:National Rail Enquiries Data Feeds]]

Revision as of 20:51, 11 July 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