Peek.2023-04-18.20-43.mp4
Why does Spain have so many great highways?
This project aims to track traffic in Spain and provide a visualization of the traffic in real time. The data is obtained from the DGT (Dirección General de Tráfico).
Over time, with enough data, we might be able to infer the general migration patterns of the Spanish population. Identify dead zones, and even predict traffic jams.
- An algorithm downloads the data from the DGT API.
- Each image is processed and all the vehicles are counted.
- The data is stored in a database.
- The data is visualized in a web application using a map of Spain.
- The above process is repeated every 40 minutes (by default).
- The data is stored in the database and can then be used for long-term analysis.
- The data can be used to generate insights about the mobility patterns in Spain.
- The number of vehicles on the roads can be used to determine the peak traffic hours.
- The number of vehicles on the roads can also be used to identify traffic hotspots.
- The data can be used to identify the most popular routes for drivers.
- The data can also be used to measure the effects of public policies on traffic.