checking .gpx files for speeding on restricted segments and electronic marshaling. Built in python with gpxpy and folium.
install python
on windows install for all users and add to path.
open cmd as admin:
pip install gpxpy
or python -m install gpxpy
pip install folium
or python -m install folium
pip install PySide2
or python -m install PySide2
(for GUI) or (OLD - pip install PyQt5
or python -m install PyQt5
(for GUI))
copy the .py, .pyw, .png files to the python scripts folder (C:\Program Files\Python36\Scripts).
pyqt.pyw is a GUI built on pyqt5.
Accept lat/long in decimal (30.1749997,35.0642141) or min/sec (29.58.42.516,34.56.03.523) without N S E W
If .gpx file contain more the 1 segment, use split_gpx_to_segments.py to split to individual files, otherwise the result will be currupt.
Check all the .gpx files in the folder and producing a report of speeding in the restricted segments. can have as many segments as needed.
accept lat/long of strating point, lat/long of finish point and restricted speed.
NOT accepting waypoints gpx file.
run: python speeding.py 45.49222,5.90380 45.49885,5.90372 70 45.49222,5.90380 45.49885,5.90372 65
see spedding_results.txt for sample report.
Check all the .gpx files in the folder and producing a report of electronic marshaling. can have as many marshals as needed.
accepts lat/long for each marshal.
accepts waypoints gpx file.
run: python marshaling.py 45.48612,5.909551 45.49593,5.90369 45.50341,5.90479 45.51386,5.90625
see marshaling_results.txt for sample report.
for sample reports see:
"line" SpeedingMap.html
"marshaling" TrackingMap.html