Skip to main content

PyPI version License: MIT Downloads Downloads Code style: black

gpxfix

A small python-based GUI that helps you reestablishing broken GPX-files. alt text

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

  1. If you run the file, the default window of the GUI shows up: alt text

  2. Upload your GPX file via Upload GPX-Track.

  3. You get a confirmation message once the file has been parsed successfully.

  4. 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.

  5. 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. alt text
  6. Create and download your snippet GPX from mapstogpx (tick Advanced Settings -> Include Elevation) and note the snippet distance from Google Maps.

  7. Upload the snippet via Upload GPX fragment.

  8. Click Enter Distance and input the snippet distance in meters via the keypad dialog.

  9. Click Repair! to merge and repair the track.

  10. The repaired file is saved in the directory "Corrected Files". alt text

  11. If you have multiple issues with your GPX file, repeat the procedure.

Feel free to fork and please report any issues.

Metadata

Release files for gpxfix 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gpxfix 0.1.0
File Size Uploaded
gpxfix-0.1.0.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gpxfix 0.1.0
File Interpreter ABI Platform
gpxfix-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.7 kB

Release files / gpxfix-0.1.0.tar.gz

Download URL gpxfix-0.1.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f0f5b33afb406d289a98849ca4db01462be21321bb096c046505a85244a9687a
BLAKE2b-256 checksum
How to use checksums
9f33ca95274789afda3b9bfe6e47a83db0e62b3eb724fce896e406a5c1312472
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / gpxfix-0.1.0-py3-none-any.whl

Download URL gpxfix-0.1.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6a92ae6a408695e9e706e43846606fc3ba1e3e1ad93c863d5ba5259273edac5
BLAKE2b-256 checksum
How to use checksums
49d96f9912bd9e4d331fa9079fe74fa421a741d8a45ff94f521e35ab272eae1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page