Difference between revisions of "Open Data Releases"

From Open Rail Data Wiki
Jump to navigation Jump to search
m (→‎ATOC: Add link to Fares Data page)
m
 
(34 intermediate revisions by 7 users not shown)
Line 3: Line 3:
 
= Network Rail =
 
= Network Rail =
  
* [http://datafeeds.networkrail.co.uk/ Network Rail Datafeeds], providing real-time train movement information from Network Rail's internal systems.  You will need a reasonable level of technical skill to interpret the data.
+
* [https://datafeeds.networkrail.co.uk/ Network Rail Datafeeds], providing real-time train movement information from Network Rail's internal systems.  You will need a reasonable level of technical skill to interpret the data.
* The [http://www.networkrail.co.uk/aspx/10563.aspx Sectional Appendix], containing detailed information of lines, routes, junctions and permitted speeds.  This data is updated in June and December each year, and [[HistoricalSectionalAppendicies|historical versions of the Sectional Appendix]] are available for reference
+
* The [https://www.networkrail.co.uk/industry-and-commercial/information-for-operators/national-electronic-sectional-appendix/ Sectional Appendix], containing detailed information of lines, routes, junctions and permitted speeds.  This data is updated in June and December each year, an extract of the data in TSV and XLSX is [https://github.com/anisotropi4/nesa here] and [[HistoricalSectionalAppendicies|historical versions of the Sectional Appendix]] are available for reference.
* [http://www.networkrail.co.uk/browseDirectory.aspx?dir=\Timetables\Working%20Timetable%20(WTT)&root=\Timetables\Working%20Timetable%20(WTT) Working Timetables] - schedules for passenger, empty passenger, freight and infrastructure trains.
+
* [https://www.networkrail.co.uk/running-the-railway/the-timetable/working-timetable/ Working Timetables] - schedules for passenger, empty passenger, freight and infrastructure trains.
* [http://www.networkrail.co.uk/aspx/3741.aspx Rules of the Route/Rules of the Plan], Data relating to planned engineering blockades and constraints on timetable planning.
+
* [https://www.networkrail.co.uk/industry-and-commercial/information-for-operators/ Engineering Access Statement/Train Planning Rules], Data relating to planned engineering blockades and constraints on timetable planning.
* [http://www.networkrail.co.uk/browse%20documents/rules%20of%20the%20route/compendium%20of%20signal%20box%20opening%20times.xls Signalbox Opening Times]
+
* [https://www.networkrail.co.uk/wp-content/uploads/2021/02/Compendium-of-Signal-Box-Opening-Times.pdf Signalbox Opening Times]
* [http://www.networkrail.co.uk/WorkArea/DownloadAsset.aspx?id=30064785933 List of Level Crossings]
+
* [https://www.networkrail.co.uk/communities/safety-in-the-community/level-crossing-safety/ Level Crossing Safety] - the [https://www.networkrail.co.uk/wp-content/themes/sage-10/resources/level-crossing-map.json underlying data is available in JSON format]
  
 
= Railway Safety and Standards Board =
 
= Railway Safety and Standards Board =
  
* [http://www.rgsonline.co.uk/ RGS Online], providing access to current and withdrawn Railway Group Standards (the 'Rule Book'), Rail Industry Approved Codes of Practice (RACOPs), guidance notes and and Rail Industry Standards.
+
* [https://www.rssb.co.uk/ RSSB] has a list of [https://www.rssb.co.uk/standards-catalogue current and withdrawn Railway Group Standards] current and withdrawn Railway Group Standards, Rail Industry Approved Codes of Practice (RACOPs), guidance notes and and Rail Industry Standards.  Registration is required to access this data.
  
= Office of Rail Regulation =
+
= Office of Rail and Road =
  
* [http://www.rail-reg.gov.uk/server/show/nav.1863 National Rail Trends], including Signals Passed at Danger (SPADs), volume of freight movement, historical Public Performance Measure data, passenger train revenue and temporary speed restrictions.
+
* [https://dataportal.orr.gov.uk/ ORR Data Portal], including Signals Passed at Danger (SPADs), volume of freight movement, historical Public Performance Measure data, passenger train revenue and temporary speed restrictions.
  
= ATOC =
+
= RDG =
  
* [http://data.atoc.org/ Passenger timetable data] from [http://www.atoc.org/ ATOC] in [[Common Interchange File format]]
+
* [https://data.atoc.org/how-to Passenger timetable data] from [https://www.raildeliverygroup.com/ RDG] in [[Common Interchange File format]]
* [http://data.atoc.org/ London Terminals data] from [http://www.atoc.org/ ATOC], detailing the valid London station used when travelling from a particular station
+
* [https://data.atoc.org/london-terminals London Terminals data] from [https://www.raildeliverygroup.com/ RDG], detailing the valid London station used when travelling from a particular station
* [http://data.atoc.org/ Fares data] from [http://www.atoc.org/ ATOC] - see [[Fares Data]]
+
* [https://data.atoc.org/fares-data Fares data] from [https://www.raildeliverygroup.com/ RDG] - see [[Fares Data]]
  
 
= Transport for London =
 
= Transport for London =
  
* [http://www.tfl.gov.uk/businessandpartners/syndication/default.aspx TfL Developer Area], where you can sign up for access to numerous feeds, including live traffic camera images, real-time bus arrivals, Tube departure boards, station locations, a journey planner and tube disruption data.
+
* [https://tfl.gov.uk/info-for/open-data-users/ TfL Open Data], where you can sign up for access to numerous feeds, including live traffic camera images, real-time bus arrivals, Tube departure boards, station locations, a journey planner and tube disruption data.
 +
* [[Trackernet]] - Legacy feed for real-time London Underground information, with some operational information not offered by TfL's unified API.
  
 
= Transport for Greater Manchester (TfGM) =
 
= Transport for Greater Manchester (TfGM) =
 +
* [https://developer.tfgm.com/ TfGM Real-Time Open Data Portal] - Data from TfGM, presented as [https://en.wikipedia.org/wiki/Open_Data_Protocol OData], a REST-style API.
  
* [http://opendata.tfgm.com/ TfGM Real-Time Open Data Information System]
+
Documentation is provided by a user-unfriendly Microsoft Azure portal. The endpoint URLs and parameters are documented, but there's no documentation on response fields, or interpretation.
* [http://www.datagm.org.uk/group/tfgm TfGM Static Data]
+
 
 +
The only Metrolink information currently available is an overview of the information TfGM's CIS is displaying at PIDs at stops, and is organised by PID, ''not'' location.
 +
 
 +
Example:
 +
<pre>{
 +
    "Id": 127854, "Line": "Airport", "TLAREF": "AIR", "PIDREF": "AIR-TPID01",
 +
    "StationLocation": "Manchester Airport", "AtcoCode": "9400ZZMAAIR1", "Direction": "Incoming",
 +
    "Dest0": "Firswood", "Carriages0": "Single", "Status0": "Due", "Wait0": "7",
 +
    "Dest1": "", "Carriages1": "", "Status1": "", "Wait1": "",
 +
    "Dest2": "", "Carriages2": "", "Status2": "", "Wait2": "",
 +
    "Dest3": "", "Carriages3": "", "Status3": "", "Wait3": "",
 +
    "MessageBoard": "Due to overhead line damage Airport services are operating to Firswood only. Please use Didsbury services for onward travel into the City Centre. Please see TFGM.com",
 +
    "LastUpdated": "2023-06-13T15:31:28Z"
 +
  }</pre>
  
 
= High Speed Two Ltd =
 
= High Speed Two Ltd =
  
* [http://data.gov.uk/dataset/hs2-gis-route Data.gov.uk] details the route of the planned HS2 line. It is ESRI shapefile format. Licenced under Open Government Licence (OGL)
+
* [https://www.data.gov.uk/dataset/8da35ce1-8a71-4834-8ad6-7a71ca04acbf/route-data data.gov.uk] has details the route of the planned HS2 line. This data is now no longer published, but was in ESRI Shapefile format, licenced under Open Government Licence (OGL)
  
 
= British Transport Police =
 
= British Transport Police =
Line 43: Line 58:
 
= OpenStreetMap.org =
 
= OpenStreetMap.org =
  
* [[OpenStreetMap]] contains most of the UK rail network at varying levels of detail.  Some stations are tagged with naptan:AtcoCode and/or a CRS reference, and some have routes associated with them. The Osmosis application could be used to pull nodes and ways from an OSM planet dump/extract.
+
* [https://www.openstreetmap.org/ OpenStreetMap] contains most of the UK rail network at varying levels of detail.  Some stations are tagged with naptan:AtcoCode and/or a CRS reference, and some have routes associated with them. The Osmosis application could be used to pull nodes and ways from an OSM planet dump/extract.
  
 
= Non-UK data =
 
= Non-UK data =
Line 49: Line 64:
 
Some of this data is fully open, other data is available for casual use but without clear licensing conditions.
 
Some of this data is fully open, other data is available for casual use but without clear licensing conditions.
  
* [http://data.sncf.com SNCF Open Data] is the open data project from French national operator, SNCF. The data itself is in beta (e.g. only covering some regions), with full open datasets anticipated soon.
+
* [https://data.sncf.com SNCF Open Data] is the open data project from French national operator, SNCF.
* [http://www.ns.nl/api/home NS API for all Dutch trains] is a great, simple API including stations, schedules, and realtime feeds.
+
* [https://www.ns.nl/en/travel-information/ns-api NS API for all Dutch trains] is a great, simple API including stations, schedules, and realtime feeds.
* [http://www.opendatacity.de/zugmonitor-api Zugmonitor API] gives access to the data used for the [http://zugmonitor.sueddeutsche.de Zugmonitor project]. The API is only for non-commercial use, with full open data a question for Deutsche Bahn.
+
* [https://hello.irail.be/ Irail] is a Belgian non-profit initiative with the aim of opening up transportation data.
* [http://project.irail.be Irail] is a Belgian non-profit initiative with the aim of opening up transportation data.
+
* [http://api.erail.in/ eRail.in] Indian Railways API.
* [http://thedatahub.org/user/jgcasta CKAN Spain railways data] gives access to stations, lines and investments in Spain ADIF and FEVE. [http://www.iderail.es More information in Spanish ]
+
* [http://data.deutschebahn.com/ DB Open-Data-Portal] for open rail data in Germany.
 +
* [https://data.sbb.ch/pages/home/ SBB Open Data] for open rail data in Switzerland.
 +
* [http://api.irishrail.ie/realtime/ Iarnród Éireann (Irish Rail) API] - real-time information in (schemaless) XML
 +
 
 +
== Sweden ==
 +
 
 +
* [https://api.trafikinfo.trafikverket.se/ Trafikinfo API] for trains operating in Sweden provided by Trafikverket, the Swedish Transport Administration.
 +
* [https://lastkajen.trafikverket.se/ Järnvägsdata] contains geographical data of railway infrastructure in ESRI Shapefile format.
 +
 
 +
== Finland ==
 +
 
 +
Finland has an extensive open rail data platform thanks to the government's open-data initiative.
 +
 
 +
* [https://rata.digitraffic.fi/swagger/ rata.digitraffic.fi] API for trains operating in Finland.
 +
* [https://rata.digitraffic.fi/infra-api/ Infra-API] for railway infrastructure.
 +
* [https://rata.digitraffic.fi/jeti-api/ Jeti-API] for planned (maintenance) restrictions.
 +
 
 +
== Norway ==
 +
Entur AS was created in 2016 to unify ticketing, journey planning, and passenger information throughout Norway, on all public transport modes. BaneNOR is the infrastructure owner/operator (similar to Network Rail) and also publishes some data.
 +
* Entur [https://developer.entur.org/pages-real-time-intro Real-time information] in SIRI and GTFS-RT
 +
* Entur [https://developer.entur.org/stops-and-timetable-data Stops and timetables] (NeTEx)
 +
* Entur [https://developer.entur.org/pages-journeyplanner-journeyplanner Journey planner] (GraphQL)
 +
* BaneNOR [https://api-portal.banenor.no/ SIRI] - Note that signup silently fails if the portal doesn't like your password
 +
* BaneNOR [https://www.banenor.no/apne-data-fa-togtidene-gratis-pa-nett-og-skjermer/ Åpne data] (SIRI). Information in Norwegian about the RTD (Real Time Display) system and SIRI ProductionTimetable and EstimatedTimetable interfaces.
 +
 
 +
= See also =
 +
 
 +
* [[FOI Requests]]

Latest revision as of 16:56, 29 November 2023

This page lists data that has been made available from the rail and transport industry.

Network Rail

Railway Safety and Standards Board

  • RSSB has a list of current and withdrawn Railway Group Standards current and withdrawn Railway Group Standards, Rail Industry Approved Codes of Practice (RACOPs), guidance notes and and Rail Industry Standards. Registration is required to access this data.

Office of Rail and Road

  • ORR Data Portal, including Signals Passed at Danger (SPADs), volume of freight movement, historical Public Performance Measure data, passenger train revenue and temporary speed restrictions.

RDG

Transport for London

  • TfL Open Data, where you can sign up for access to numerous feeds, including live traffic camera images, real-time bus arrivals, Tube departure boards, station locations, a journey planner and tube disruption data.
  • Trackernet - Legacy feed for real-time London Underground information, with some operational information not offered by TfL's unified API.

Transport for Greater Manchester (TfGM)

Documentation is provided by a user-unfriendly Microsoft Azure portal. The endpoint URLs and parameters are documented, but there's no documentation on response fields, or interpretation.

The only Metrolink information currently available is an overview of the information TfGM's CIS is displaying at PIDs at stops, and is organised by PID, not location.

Example:

{
    "Id": 127854, "Line": "Airport", "TLAREF": "AIR", "PIDREF": "AIR-TPID01",
    "StationLocation": "Manchester Airport", "AtcoCode": "9400ZZMAAIR1", "Direction": "Incoming",
    "Dest0": "Firswood", "Carriages0": "Single", "Status0": "Due", "Wait0": "7",
    "Dest1": "", "Carriages1": "", "Status1": "", "Wait1": "",
    "Dest2": "", "Carriages2": "", "Status2": "", "Wait2": "",
    "Dest3": "", "Carriages3": "", "Status3": "", "Wait3": "",
    "MessageBoard": "Due to overhead line damage Airport services are operating to Firswood only. Please use Didsbury services for onward travel into the City Centre. Please see TFGM.com",
    "LastUpdated": "2023-06-13T15:31:28Z"
  }

High Speed Two Ltd

  • data.gov.uk has details the route of the planned HS2 line. This data is now no longer published, but was in ESRI Shapefile format, licenced under Open Government Licence (OGL)

British Transport Police

  • Data.gov.uk has crime stats for stations and trains in Jan to August 2012

OpenStreetMap.org

  • OpenStreetMap contains most of the UK rail network at varying levels of detail. Some stations are tagged with naptan:AtcoCode and/or a CRS reference, and some have routes associated with them. The Osmosis application could be used to pull nodes and ways from an OSM planet dump/extract.

Non-UK data

Some of this data is fully open, other data is available for casual use but without clear licensing conditions.

Sweden

  • Trafikinfo API for trains operating in Sweden provided by Trafikverket, the Swedish Transport Administration.
  • Järnvägsdata contains geographical data of railway infrastructure in ESRI Shapefile format.

Finland

Finland has an extensive open rail data platform thanks to the government's open-data initiative.

Norway

Entur AS was created in 2016 to unify ticketing, journey planning, and passenger information throughout Norway, on all public transport modes. BaneNOR is the infrastructure owner/operator (similar to Network Rail) and also publishes some data.

  • Entur Real-time information in SIRI and GTFS-RT
  • Entur Stops and timetables (NeTEx)
  • Entur Journey planner (GraphQL)
  • BaneNOR SIRI - Note that signup silently fails if the portal doesn't like your password
  • BaneNOR Åpne data (SIRI). Information in Norwegian about the RTD (Real Time Display) system and SIRI ProductionTimetable and EstimatedTimetable interfaces.

See also