Jump to content

TrainServiceCode

From Open Rail Data Wiki

Train service codes (TSCs) are 8-digit codes used to relate train services to service groups for performance monitoring.

Position Description
1 Passenger trains use '1' or '2', freight and engineering trains used '5' or 7', and Eurostar services use '8'
2 This was originally used as a geographic area code, but is now allocated without a pattern
3-6 For freight trains, this is the service group number. For passenger trains, characters 3-5 are the contract code
7-8 For freight trains, an optional sequence number for different origins


Network Rail Open Data Feeds
Data Feeds About the Feeds Account States Durable Subscriptions Example Code ( PHP / C# / Java / Ruby / Node.js) • STOMP Client Libraries 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 TIPLOC Records 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 (BPLAN)