Difference between revisions of "Open Data Releases"

From Open Rail Data Wiki
Jump to navigation Jump to search
m (→‎High Speed Two Ltd: Update HS2 data)
m
 
(7 intermediate revisions by 3 users not shown)
Line 27: Line 27:
  
 
* [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.
 
* [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.
  
* [https://developer.tfgm.com/ TfGM Real-Time Open Data Portal]
+
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:
 +
<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 =
Line 54: Line 70:
 
* [http://data.deutschebahn.com/ DB Open-Data-Portal] for open rail data in Germany.
 
* [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.
 
* [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 ==
 
== Sweden ==
  
 
* [https://api.trafikinfo.trafikverket.se/ Trafikinfo API] for trains operating in Sweden provided by Trafikverket, the Swedish Transport Administration.
 
* [https://api.trafikinfo.trafikverket.se/ Trafikinfo API] for trains operating in Sweden provided by Trafikverket, the Swedish Transport Administration.
* [https://lastkajen.trafikverket.se/107_OA_FileStorage/Default.aspx Järnvägsdata] contains geographical data of railway infastructure in Shapefile format.
+
* [https://lastkajen.trafikverket.se/ Järnvägsdata] contains geographical data of railway infrastructure in ESRI Shapefile format.
  
 
== Finland ==
 
== Finland ==
Line 64: Line 81:
 
Finland has an extensive open rail data platform thanks to the government's open-data initiative.
 
Finland has an extensive open rail data platform thanks to the government's open-data initiative.
  
* [https://rata.digitraffic.fi/swagger/index.html rata.digitraffic.fi] API for trains operating in Finland.
+
* [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/infra-api/ Infra-API] for railway infrastructure.
 
* [https://rata.digitraffic.fi/jeti-api/ Jeti-API] for planned (maintenance) restrictions.
 
* [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 =
 
= See also =
  
 
* [[FOI Requests]]
 
* [[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