CIF File Format
CIF File Format
The CIF file contains a sequence of records. Each record is 80 character long. The first two bytes of a record identifies the type of a record.
Record Types
- HD - Header record
- TI - TIPLOC Insert record
- TA - TIPLOC Amend record
- TD - TIPLOC Delete record
- AA - Association record
- BS - Basic schedule record
- BX - Basic schedule extra details record
- LO - Origin location record
- LI - Intermediate location record
- CR - Change en Route
- LT - Terminating location record
- ZZ - Trailer record (End of File)
The [End User Specification] is also available from ATOC's website, which details the format of the CIF file and the fields within.
Network Rail Open Data Feeds | |
---|---|
Data Feeds | About the Feeds • Account States • Durable Subscriptions • Example Code ( PHP / C# / Java / Ruby / Node.js) • Advanced Uses • FAQ • 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) |