Difference between revisions of "About the Network Rail feeds"

From Open Rail Data Wiki
Jump to navigation Jump to search
Line 32: Line 32:

Revision as of 23:20, 8 October 2012

What are the feeds?

Five feeds and a resource are available:

  • RTPPM - Real Time Public Performance Measure. This shows the performance of trains against the timetable, measured as the percentage of trains arriving at destination on time. Updated every minute.
  • Train Movements - messaging from the TRUST system, containing reports of train movements past timetabled calling and passing points.
  • TD - data from the Train Describer system, showing raw data with train movements in more detail than the Train Movements feed.
  • VSTP - late-notice train schedules which are not available through the Schedule feed.
  • TSR - Temporary Speed Restrictions
  • SCHEDULE - extracts of train schedules from ITPS.

How do I get the data?

First, sign up for an account at http://datafeeds.networkrail.co.uk. Log in and select the feeds you wish to use.

You will need to write a Stomp client, available for many languages.

Schedule Data, cannot be obtained via Stomp, but as downloads from Amazon S3

Background reading

It may be useful to understand the background to the sources of some of these data feeds. These links will help:


Example code is available for several common languages: