Traffic incidents are gathered from the official Open Data website of the Basque Government
- Create virtual environment:
python3 -m venv myvenv
- Activate virtual environment
source myvenv/bin/activate
- Instal dependencies
pip install -r requirements.txt
- Create a
.env
file with these variables, as shown in .env_template:URL=https://www.trafikoa.euskadi.eus/servicios/IncidenciasTDT/IncidenciasTrafikoTDTGeo APRS_SERVER_URL=euro.aprs2.net APRS_SERVER_PORT=14580 CALLSIGN=<YOUR_CALLSIGN> CALLSIGN_SSID=<DESIRED_SSID> CALLSIGN_PASS=<APRS.IS_PASSWORD>
- With the virtual environment activated and a .env file created and filled, we are ready to run the script!
python main.py
- https://opendata.euskadi.eus/catalogo/-/incidencias-trafico-euskadi/
- https://aprs.fi
- https://davidpardavila.com/como-convertir-coordenadas-geograficas/
- https://www.omnicalculator.com/conversion/coordinates-converter#how-to-convert-coordinates-in-dd-to-dms-or-ddm
- https://github.com/EvanVS/APRS-Python