Identifying Locations: Difference between revisions

From Open Rail Data Wiki
Swapping CRS for 3Alpha more fully
mNo edit summary
Line 1: Line 1:
== Identifying Stations ==
Locations on the rail network can be identified by several different methods:


Stations/locations are identified by a few different items of data.
* '''3-Alpha Codes''' - A 3-character code used for stations. Previously referred to as CRS (Computer Reservation System) or NRS (National Reservation System) codes.
* '''NLC (National Location Code)''' -  A 6-digit code.  These includes physical locations such as stations and junctions as well as codes relating to accounting and other purposes.
* '''TIPLOC (Timing Point Location)''' - Codes relating to points used in deriving train schedules
* '''STANOX (Station Number)''' - These codes can refer to non-station locations such as sidings and junctions
* '''ATCO Code''' - Used by multi-modal journey planners and timetables


* 3-Alpha Codes - (Previously referred to as CRS  - Computer reservation system, also referred to as national reservation system NRS codes)
A single location may have multiple codes representing it, and different sets of platforms in one location may have differing codes - see the [[#Multiple_Codes | multiple codes]] section below.
** The handy 3 Character Code
* NLC - National Location Codes
* TIPLOC - Timing Point Locations
* STANOX - Station Numbers
* ATCO code - Used by multi-modal journey planners and timetables


== Examples ==
See the [[Reference_Data | reference data]] page for sources of these codes.
 
= Examples =


{| class="wikitable"
{| class="wikitable"
Line 32: Line 33:
|}
|}


== Multiple Codes for a Station ==
= Multiple Codes =


Emil Vaughan asked, "There appear to be two CRS codes used for Highbury and Islington in the ATOC timetables: HHY and HII. The first is used for the Overground, and the second for the deep-level FGW services. Only one of the codes, HII, is in the NaPTAN RailReferences.csv file. I was wondering how common it is for a station to have multiple CRS codes? Thanks!"
Emil Vaughan asked, "There appear to be two CRS codes used for Highbury and Islington in the ATOC timetables: HHY and HII. The first is used for the Overground, and the second for the deep-level FGW services. Only one of the codes, HII, is in the NaPTAN RailReferences.csv file. I was wondering how common it is for a station to have multiple CRS codes? Thanks!"
Line 41: Line 42:


HHY is definitely the main CRS code for Highbury & Islington; you can check this in the ATOC master station names file (TTISxxx.MSN) downloadable from data.atoc.org.
HHY is definitely the main CRS code for Highbury & Islington; you can check this in the ATOC master station names file (TTISxxx.MSN) downloadable from data.atoc.org.
==References ==
* A Searchable List and MySQL Database Dump [http://trains.barrycarlyon.co.uk/data/locations/ Trains.BarryCarlyon.co.uk]
* [http://deaves47.zxq.net/CRS/CRS0.htm Phil Deaves, fairly up to date list]
* [http://data.gov.uk/dataset/naptan NaPTAN] (National Public Transport Access Nodes) - the single government source for all public transport stops/stations in the UK - also includes bus stops, ferry terminals, airports, metro stations, heritage railways, and 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.

Revision as of 08:25, 20 May 2013

Locations on the rail network can be identified by several different methods:

  • 3-Alpha Codes - A 3-character code used for stations. Previously referred to as CRS (Computer Reservation System) or NRS (National Reservation System) codes.
  • NLC (National Location Code) - A 6-digit code. These includes physical locations such as stations and junctions as well as codes relating to accounting and other purposes.
  • TIPLOC (Timing Point Location) - Codes relating to points used in deriving train schedules
  • STANOX (Station Number) - These codes can refer to non-station locations such as sidings and junctions
  • ATCO Code - Used by multi-modal journey planners and timetables

A single location may have multiple codes representing it, and different sets of platforms in one location may have differing codes - see the multiple codes section below.

See the reference data page for sources of these codes.

Examples

Station 3Alpha NLC TIPLOC STANOX ATCO
Leeds LDS 848700 LEEDS 17132 9100LEEDS
Kings Cross KGX 612100 KNGX 54311 9100KNGX
Lincoln Central LCN 634000 LINCLNC 44038 9100LINCLNC
Glasgow Central High Level GLC 981300 GLGC 07257 9100GLGC
Gatwick Airport GTW 541600 GTWK 87911 9100GTWK

Multiple Codes

Emil Vaughan asked, "There appear to be two CRS codes used for Highbury and Islington in the ATOC timetables: HHY and HII. The first is used for the Overground, and the second for the deep-level FGW services. Only one of the codes, HII, is in the NaPTAN RailReferences.csv file. I was wondering how common it is for a station to have multiple CRS codes? Thanks!"

It is reasonably common for a station to have multiple TIPLOC codes, where it consists of multiple groups of platforms on completely different lines. London Bridge, Victoria, Clapham Junction, Reading, Liverpool South Parkway are all examples of this I can think of off the top of my head. These different TIPLOC codes are used in schedules.

A lot of the time these different TIPLOCs will additionally have a CRS code assigned to them (as in the case of HII for the Highbury & Islington low level platforms), but as far as I can see these secondary CRS codes are never used for anything, at least not in any of the public ATOC and Network Rail data. Yes, they appear in various indexes and master lists, but not elsewhere.

HHY is definitely the main CRS code for Highbury & Islington; you can check this in the ATOC master station names file (TTISxxx.MSN) downloadable from data.atoc.org.