CIF Tiploc Insert: Difference between revisions

From Open Rail Data Wiki
Jpl (talk | contribs)
New page
 
m Add information about the TI record
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The CIF 'TI' record instructs that a system should insert a new TIPLOC in to its local database, if it has one.
== Record Format ==
== Record Format ==
<pre>
<pre>
Line 8: Line 10:
! Field !! Format !! Length !! Example Value !! Comments
! Field !! Format !! Length !! Example Value !! Comments
|-
|-
| Record Identity || String || 2 || TI || Always TI
| Record Identity || String || 2 || TI || Always TI.
|-
|-
| TIPLOC || String || 7 || BLTNODR || Timing Point Location
| TIPLOC || String || 7 || BLTNODR || Timing Point Location Code.
|-
|-
| Capitals Identification || Number || 2 || 24 || Defines capitalisation of TIPLOC
| Capitals Identification || Number || 2 || 24 || Not used, but may still contain historic data. Was to define capitalisation of TIPLOC.
|-
|-
| NLC || Number || 6 || 853600 || National Location Code
| NLC || Number || 6 || 853600 || National Location Code.
|-
|-
| NLC Check Char || Char || 1 || D ||  
| NLC Check Char || Char || 1 || D || NLC check character.
|-
|-
| TPS Description || String || 26 || BOLTON-UPON-DEARNE || Description of location
| TPS Description || String || 26 || BOLTON-UPON-DEARNE || Description of location.
|-
|-
| Stanox || Number || 5 || 24011 ||  
| Stanox || Number || 5 || 24011 || 5 character TOPS location code.
|-
|-
| (Not used) || Number || 4 || 0 ||
| PO MCP Code || Number || 4 || 0 || Not used, but may still contain historic data. Was 4 character Post Office Location Code.
|-
|-
| 3-Alpha Code || String || 3 || BTD ||  
| 3-Alpha Code || String || 3 || BTD || CRS code.
|-
|-
| NLC description || String || 16 || BOLTON ON DEARNE ||
| NLC description || String || 16 || BOLTON ON DEARNE || 16 character description used in CAPRI.
|-
|-
| Spare || String || 8 || (empty space) ||  
| Spare || String || 8 || (empty space) ||  
|}
|}
{{Navtable-CifSchedule}}


{{Navtable-DataFeeds}}
{{Navtable-DataFeeds}}


[[Category:Schedule Data]]
[[Category:Schedule Data]]

Latest revision as of 08:58, 17 November 2023

The CIF 'TI' record instructs that a system should insert a new TIPLOC in to its local database, if it has one.

Record Format

TIBLTNODR24853600DBOLTON-UPON-DEARNE        24011   0BTDBOLTON ON DEARNE

Record Fields

Field Format Length Example Value Comments
Record Identity String 2 TI Always TI.
TIPLOC String 7 BLTNODR Timing Point Location Code.
Capitals Identification Number 2 24 Not used, but may still contain historic data. Was to define capitalisation of TIPLOC.
NLC Number 6 853600 National Location Code.
NLC Check Char Char 1 D NLC check character.
TPS Description String 26 BOLTON-UPON-DEARNE Description of location.
Stanox Number 5 24011 5 character TOPS location code.
PO MCP Code Number 4 0 Not used, but may still contain historic data. Was 4 character Post Office Location Code.
3-Alpha Code String 3 BTD CRS code.
NLC description String 16 BOLTON ON DEARNE 16 character description used in CAPRI.
Spare String 8 (empty space)


CIF
CIF HD (Header) • ZZ (End of File)
TIPLOC TI (TIPLOC Insert) TA (TIPLOC Amend) TD (TIPLOC Delete)
Association AA (Association)
Location BS (Basic Schedule) BX (Basic Schedule Extended) LO (Location Origin) LI (Location Intermediate) CR (Change-en-Route) LT (Location Terminate)


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 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)