Open Data Releases: Difference between revisions
m Iderail / Spain's open data seems to be closed |
PeterHicks (talk | contribs) m →Network Rail: Update Compendium of Signal Box Opening Times |
||
(27 intermediate revisions by 7 users not shown) | |||
Line 3: | Line 3: | ||
= Network Rail = | = Network Rail = | ||
* [ | * [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 [ | * 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. | ||
* [ | * [https://www.networkrail.co.uk/running-the-railway/the-timetable/working-timetable/ Working Timetables] - schedules for passenger, empty passenger, freight and infrastructure trains. | ||
* [ | * [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. | ||
* [ | * [https://www.networkrail.co.uk/wp-content/uploads/2024/03/Compendium-of-Signal-Box-Opening-Times.xlsx Signalbox Opening Times] | ||
* [ | * [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 = | ||
* [https://www.rssb.co.uk/ | * [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 | = Office of Rail and Road = | ||
* [ | * [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. | ||
= | = RDG = | ||
* [ | * [https://data.atoc.org/how-to Passenger timetable data] from [https://www.raildeliverygroup.com/ RDG] in [[Common Interchange File format]] | ||
* [ | * [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 | ||
* [ | * [https://data.atoc.org/fares-data Fares data] from [https://www.raildeliverygroup.com/ RDG] - see [[Fares Data]] | ||
= Transport for London = | = Transport for London = | ||
* [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. | |||
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 = | ||
* [ | * [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 42: | Line 58: | ||
= OpenStreetMap.org = | = OpenStreetMap.org = | ||
* [ | * [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 48: | 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. | ||
* [ | * [https://data.sncf.com SNCF Open Data] is the open data project from French national operator, SNCF. | ||
* [ | * [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. | ||
* [ | * [https://hello.irail.be/ Irail] is a Belgian non-profit initiative with the aim of opening up transportation data. | ||
* [http:// | * [http://api.erail.in/ eRail.in] Indian Railways API. | ||
* [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 == | ||
Line 57: | 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/ | * [https://rata.digitraffic.fi/swagger/ rata.digitraffic.fi] API for trains operating in Finland. | ||
* [https://rata.digitraffic.fi/infra-api/ | * [https://rata.digitraffic.fi/infra-api/ Infra-API] for railway infrastructure. | ||
* [https://rata.digitraffic.fi/jeti-api/ | * [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 20:04, 5 August 2024
This page lists data that has been made available from the rail and transport industry.
Network Rail
- 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 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 here and historical versions of the Sectional Appendix are available for reference.
- Working Timetables - schedules for passenger, empty passenger, freight and infrastructure trains.
- Engineering Access Statement/Train Planning Rules, Data relating to planned engineering blockades and constraints on timetable planning.
- Signalbox Opening Times
- Level Crossing Safety - the underlying data is available in JSON format
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
- Passenger timetable data from RDG in Common Interchange File format
- London Terminals data from RDG, detailing the valid London station used when travelling from a particular station
- Fares data from RDG - see Fares Data
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)
- TfGM Real-Time Open Data Portal - Data from TfGM, presented as OData, a REST-style API.
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.
- SNCF Open Data is the open data project from French national operator, SNCF.
- NS API for all Dutch trains is a great, simple API including stations, schedules, and realtime feeds.
- Irail is a Belgian non-profit initiative with the aim of opening up transportation data.
- eRail.in Indian Railways API.
- DB Open-Data-Portal for open rail data in Germany.
- SBB Open Data for open rail data in Switzerland.
- Iarnród Éireann (Irish Rail) API - real-time information in (schemaless) XML
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.
- rata.digitraffic.fi API for trains operating in Finland.
- Infra-API for railway infrastructure.
- 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 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.