Skip to content

graphhopper/open-traffic-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 

Repository files navigation

GraphHopper Open Traffic Collection

Collections of URLs pointing to traffic information portals which contain open data or at least data which is free to use

Australia

Canada

Europe

  • Austria: Various data sets in Datex-II format. Requires registration; some packages are free of charge, others only for a fee. There is also an open rss feed. See #25.
  • Belgium:
    • Brussels Region: real-time traffic counting
    • Roadworks in Datex-II format. Relies on Alert-C for location decoding; ignore the alertCLocationTableNumber indicated in the Datex-II stream and use the default table for Belgium.
  • Catalonia: traffic events, custom XML format.
  • Czechia: Feeds for common traffic information, restrictions and weather. Available in both Datex-II and a custom format called DDR XML. Requires registration (free of charge) and running a server, to which the service will then push updates as they occur.
  • Estonia: road safety, traffic restrictions and real time traffic flow in Datex-II format. Location referencing seems to rely mainly on distance markers (on which data on OSM is scarce); WGS84 is used for single-point locations only; Alert-C is not used. Requires registration, free of charge.
  • Finland:
    • Digitraffic has several data sets, some in a custom JSON format, others in Datex-II level C
    • Roadworks in Datex-II and InfoXML format. The Datex-II set relies on Alert-C for location referencing.
    • Weight restrictions in Datex-II, relies on Alert-C for location referencing.
  • France
  • Germany:
  • Italy:
  • Lithuania:
    • traffic count
    • restrictions: Roadworks, road closures and restrictions, incidents; JSON-based format similar to Waze CIFS. More information at http://eismoinfo.lt > Open data/Atviri duomenys.
    • intensity: Real-time traffic flow data. More information at http://eismoinfo.lt > Open data/Atviri duomenys (note that the URL has changed since). Note that coordinates for road segments are in LKS94 (EPSG:3346).
  • Luxembourg: Traffic events in Datex-II format. Relies on Alert-C for location referencing.
  • Netherlands via the NDW. FTP-Server for data and measurements is ftp://83.247.110.3/ , see #2. Feeds are also available at http://opendata.ndw.nu/. Specifically:
    • brugopeningen has time tables for movable bridges, indicating when they are opened (i.e. raised) and thus impassable for road traffic
    • gebeurtenisinfo: traffic messages, e.g. traffic jams, wrong-way drivers, closures, detours and weather conditions
    • incidents: Breakdowns and accidents
    • srti has safety-related traffic information
    • wegwerkzaamheden: roadworks and event-related traffic measures
    • There are also various measured data publications, indicating traffic flow, speed, travel times and queues. The Datex-II situation reports rely heavily on Alert-C for location encoding. However, they do not use the regular Alert-C location code list for the Netherlands, but the VILD, which has incompatible lcoation codes. It can be downloaded from https://www.ndw.nu/documenten/nl/#cat_2. A semi-automatic process to convert the VILD to a Location Table Exchange Format, as understood by Alert-C toolchains, is described here.
  • Norway: Various data sets in Datex-II format, requires registration. Relies on Alert-C for location referencing, the LCL can be downloaded from the site.
  • Poland:
    • Traffic events in a custom XML format. Georeferencing is based on distance markers along the road; the WGS84 coordinate pair which accompanies the message is only suitable for display and can be significantly off. traff-gddkia is an attempt at a FOSS Java library which parses the data.
    • The NAP has Datex-II traffic data; registration is required to get access.
  • Slovenia: various data sets in Datex-II format, requires registration.
  • Spain
    • Madrid: Historical and real-time traffic data at city of Madrid's Open data portal
  • Sweden:
  • Switzerland traffic count only
  • UK:

Europe Misc

  • traffic data set of several cities https://github.com/ambuehll/UTD19/ under CC BY-NC-SA 4.0
  • Many EU data sets are available at the European Data Portal
  • EU authorities rely heavily on the Datex-II format for data exchange. Many of these data sets use Alert-C for location referencing and require a location code list (LCL) for location lookup.
  • In most cases the LCL can be obtained free of charge (at least for the countries which rely on Alert-C in their Datex-II feeds) and can be incorporated in applications, devices and information services, but some impose restrictions on redistribution of the raw tables. The OSM Wiki has a list of sources where LCLs can be obtained.
  • A FOSS Java library for location decoding is available here: traff-libalertclocation Decoding an Alert-C location requires the country code, location table number (LTN) and location code.
  • Some sources supply an incorrect LTN; ignore the alertCLocationTableNumber elements in the data and use the correct one instead. (The only exception being the Netherlands, see above.)
  • UNECE Traffic Census (updated every 5 years), showing AADT for segments of E-Roads within the UNECE region UNECE traffic census 2020

USA

Several entries are take from this stackexchange answer

Misc