Difference between revisions of "Change of Location"

From Open Rail Data Wiki
Jump to: navigation, search
m (Redirected page to Train Movements)
(Change of Location)
Line 1: Line 1:
#REDIRECT [[Train_Movements]]
+
== Overview ==
 +
 
 +
When a train is calling a location other than the location in the schedule, a change of location message will be sent.
 +
 
 +
== Data structure ==
 +
 
 +
=== Header ===
 +
 
 +
{| class='wikitable'
 +
!Field
 +
!Description
 +
|-
 +
|msg_type
 +
|Set to '0008' for an change of location message
 +
|-
 +
|source_dev_id
 +
|Set to the ID of the device that issued the change of location message
 +
|-
 +
|user_id
 +
|
 +
|-
 +
|original_data_source
 +
|Set to "TOPS" for a change of location message
 +
|-
 +
|msg_queue_timestamp
 +
|
 +
|-
 +
|source_system_id
 +
|Set to "TRUST" for a change of location message
 +
|}
 +
 
 +
=== Body ===
 +
 
 +
{| class='wikitable'
 +
!Field
 +
!Description
 +
|-
 +
|train_id
 +
|The 10-character unique identity for this train at TRUST activation time
 +
|-
 +
|current_train_id
 +
|
 +
|-
 +
|dep_timestamp
 +
|The planned departure time at the location where the train will call
 +
|-
 +
|loc_stanox
 +
|The STANOX of the new calling point of the train
 +
|-
 +
|original_loc_stanox
 +
|The STANOX of the original location in the schedule
 +
|-
 +
|original_loc_timestamp
 +
|The planned departure time associated with the original location
 +
|-
 +
|train_service_code
 +
|Train service code as per schedule
 +
|-
 +
|train_file_address
 +
|The TOPS train file address, if applicable
 +
|-
 +
|event_timestamp
 +
|The time at which the Change of Location is entered into TRUST
 +
|}
 +
 
 +
{{Navtable-DataFeeds}}
 +
 
 +
[[Category:Train Movement Data]]

Revision as of 14:23, 24 November 2017

Overview

When a train is calling a location other than the location in the schedule, a change of location message will be sent.

Data structure

Header

Field Description
msg_type Set to '0008' for an change of location message
source_dev_id Set to the ID of the device that issued the change of location message
user_id
original_data_source Set to "TOPS" for a change of location message
msg_queue_timestamp
source_system_id Set to "TRUST" for a change of location message

Body

Field Description
train_id The 10-character unique identity for this train at TRUST activation time
current_train_id
dep_timestamp The planned departure time at the location where the train will call
loc_stanox The STANOX of the new calling point of the train
original_loc_stanox The STANOX of the original location in the schedule
original_loc_timestamp The planned departure time associated with the original location
train_service_code Train service code as per schedule
train_file_address The TOPS train file address, if applicable
event_timestamp The time at which the Change of Location is entered into TRUST


Network Rail Open Data Feeds
Data Feeds About the Feeds Account States Durable Subscriptions Example Code ( PHP / C# / Java / Ruby / Node.js) • Advanced UsesFAQ Release Notes
RTPPM RTPPM Feed
Train Movements Train Movements Feed Train Activation Train Cancellation Train Movement Train Reinstatement Change of Origin Change of Identity Change of Location TSPEED Field Planned Cancellations Cancellation Codes
TD TD Feed C-Class Messages S-Class Messages Train Describers TD Berths
VSTP VSTP Feed
TSR TSR Feed Route Codes
SCHEDULE SCHEDULE Feed Schedule and Location Records Association Records CIF Codes How Scheduling Works Allowances
Reference Data Reference Data Feed TOC Codes CIF Codes Delay Attribution Codes Identifying Locations (STANOX, TIPLOC, NLC and 3-Alpha Codes) STANOX Geographical Areas Train Planning data