gpxfix: GUI to fix .gpx tracks with missing sections
Project description
gpxfix
A small python-based GUI that helps you reestablishing broken GPX-files.
When can this be useful?
It's a common issue for every sportsman who loves recording activities. Your device runs out of battery before you come back home, you forgot to start the record when you left home or, even worse but a frequent problem in older iPhones, you lost GPS signal somewhere on the track for a couple of minutes. Then, checking out your track, you see straight lines or the first/last bit is completelty missing.
Installation
Install from PyPI with uv:
uv tool install gpxfix
Or run from local source:
uv sync
uv run gpxfix
If you installed with uv tool install, you can run gpxfix directly. For local development, use uv run gpxfix.
If you see a Tcl/Tk error like Can't find a usable init.tcl, create the venv with system Python:
uv sync --python /usr/bin/python3
Usage instructions
-
If you run the file, the default window of the GUI shows up:
-
Upload your GPX file via Upload GPX-Track.
-
You get a confirmation message once the file has been parsed successfully.
-
Press Show Tracking Mistakes to detect missing sections. By default, a tracking mistake is defined as no trackpoint for at least 5 sec and at least 400m movement.
-
In the mistakes window:
- If no errors are found, you will see a message saying "Great! No error has been found."
- If errors are found, select the hole number in the dropdown, click Show details to view coordinates/distance, or click GO! to open that hole on Google Maps.
- Use I miss the start of my ride / I miss the end of my ride for missing start/end sections.
- Use GoogleMaps to GPX to open mapstogpx.
-
Create and download your snippet GPX from mapstogpx (tick Advanced Settings -> Include Elevation) and note the snippet distance from Google Maps.
-
Upload the snippet via Upload GPX fragment.
-
Click Enter Distance and input the snippet distance in meters via the keypad dialog.
-
Click Repair! to merge and repair the track.
-
The repaired file is saved in the directory "Corrected Files".
-
If you have multiple issues with your GPX file, repeat the procedure.
Feel free to fork and please report any issues.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpxfix-0.1.0.tar.gz.
File metadata
- Download URL: gpxfix-0.1.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0f5b33afb406d289a98849ca4db01462be21321bb096c046505a85244a9687a
|
|
| MD5 |
0cca6e2e03b0ae1267724dc07d50f44c
|
|
| BLAKE2b-256 |
9f33ca95274789afda3b9bfe6e47a83db0e62b3eb724fce896e406a5c1312472
|
File details
Details for the file gpxfix-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gpxfix-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6a92ae6a408695e9e706e43846606fc3ba1e3e1ad93c863d5ba5259273edac5
|
|
| MD5 |
bbb61c3ce8705a6b72c6f439e049e35e
|
|
| BLAKE2b-256 |
49d96f9912bd9e4d331fa9079fe74fa421a741d8a45ff94f521e35ab272eae1d
|