Reference Data: Difference between revisions

From Open Rail Data Wiki
m Berth offset description, sourced from [http://www.safety.networkrail.co.uk/Services/Jargon-Buster/B/BA-BE/Berth-Offset NR jargon]
→‎Other Sources: add jargon buster link
Line 152: Line 152:
* [http://data.gov.uk/dataset/naptan NaPTAN] (National Public Transport Access Nodes) is provided by the Department for Transport and is the single government source for all public transport stops/stations in the UK, also including bus stops, ferry terminals, airports, metro stations, and heritage railways, as well as associated metadata, including the location of entrances to stations, and platform locations in some circumstances. Contains ATCO, CRS and TIPLOC codes and latitude/longitudes.
* [http://data.gov.uk/dataset/naptan NaPTAN] (National Public Transport Access Nodes) is provided by the Department for Transport and is the single government source for all public transport stops/stations in the UK, also including bus stops, ferry terminals, airports, metro stations, and heritage railways, as well as associated metadata, including the location of entrances to stations, and platform locations in some circumstances. Contains ATCO, CRS and TIPLOC codes and latitude/longitudes.
* Peter Hicks at [http://www.opentraintimes.com/ OpenTrainTimes] has written a [http://stash.poggs.com/reference_data_relationships.pdf a useful guide to the relationships between different datasets] which gives a good overview of the way that different sets of data interact
* Peter Hicks at [http://www.opentraintimes.com/ OpenTrainTimes] has written a [http://stash.poggs.com/reference_data_relationships.pdf a useful guide to the relationships between different datasets] which gives a good overview of the way that different sets of data interact
* [http://www.safety.networkrail.co.uk/Services/Jargon-Buster Network Rail Jargon Buster] - a good range of definitions for railway technical terms.


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

Revision as of 15:09, 12 August 2013


Two sets of reference data are available from Network Rail. The All Reference Data topic must be selected and subscribed to in the My Feeds tab of the data feeds site to be able to access the reference data. See the about the feeds page for more details.

Other useful reference sources are also listed.

CORPUS: Location Reference Data

This is provided from the CORPUS system (Codes for Operations, Retail & Planning – a Unified Solution). The data is a periodically-updated snapshot of the CORPUS database. This can be used to translate STANOX, TIPLOC, NLC, UIC and 3-alpha (CRS) codes to location descriptions.

Downloading CORPUS Data

To download the data, visit http://datafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=CORPUS

CORPUS Data Format

CORPUS data is supplied as a plain text file containing a JSON representation of the data. Entries comprise the following fields (not all fields may contain data):

Field Description
STANOX STANOX code
UIC UIC code
3ALPHA 3-letter location code
TIPLOC TIPLOC code
NLC NLC code
NLCDESC Description of the NLC
NLCDESC16 NLC description (16-character version)

SMART: Berth Stepping Data

The SMART database contains details of train describer berths and allows movements into berths to be translated into arrivals and departures from locations. The data feed contains a periodically-updated snapshot of the SMART database.

Downloading SMART Data

To download the data, visit http://datafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=SMART

SMART Data Format

SMART data is supplied as a plain text file containing a JSON representation of the data. Entries comprise the following fields (not all fields may contain data):

Field Description
TD Train describer area
FROMBERTH TD berth that movement is from
TOBERTH TD berth that movement is to
FROMLINE Line which the movement is from
TOLINE Line which the movement is to
BERTHOFFSET Difference between the time a train actually occupies a track circuit and the time recorded in TRUST for the event
PLATFORM Platform
EVENT One of A, B, C, D
ROUTE
STANOX STANOX code for location
STANME Abbreviated description of location
STEPTYPE One of B, F, C, D, I, T, E
COMMENT
EVENT Description
A Arrive Up
B Depart Up
C Arrive Down
D Depart Down
STEPTYPE Description
B Between
F From
T To
D Intermediate First
C Clearout
I Interpose
E Intermediate

An in-depth overview of how to use SMART data is available.

Other Sources

  • Phil Deaves has compiled a reference site listing location codes (CRS, STANOX and TIPLOC) as well as a comprehensive listing of other railway codes
  • http://trains.barrycarlyon.co.uk/data/locations/ provides a searchable list of locations with their CRS, STANOX and TIPLOC codes and offers a downloadable SQL dump of the data
  • NaPTAN (National Public Transport Access Nodes) is provided by the Department for Transport and is the single government source for all public transport stops/stations in the UK, also including bus stops, ferry terminals, airports, metro stations, and heritage railways, as well as associated metadata, including the location of entrances to stations, and platform locations in some circumstances. Contains ATCO, CRS and TIPLOC codes and latitude/longitudes.
  • Peter Hicks at OpenTrainTimes has written a a useful guide to the relationships between different datasets which gives a good overview of the way that different sets of data interact
  • Network Rail Jargon Buster - a good range of definitions for railway technical terms.


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)