HTML + leaflet.js GPX track viewer using OpenStreetMap
| css | 17 days ago | ||
| images | 3 years ago | ||
| js | 16 days ago | ||
| python | 16 days ago | ||
| tracks | 16 days ago | ||
| README.md | 19 days ago | ||
| index.html | 17 days ago | ||
Use python to compress a GPX track using gpxpy and the Ramer–Douglas–Peucker algorithm, optionally removing time. Requires pip3 to install the necessary packages in the virtual environment before running the first time:
cd python/ python3 -m venv . source ./bin/activate python3 -m pip install -r requirements.txt
Then run with:
cd python/ ./gpxsimplify.py -f <filename> -d <max distance in meters, float> -t <optional: remove time points>