Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Pause/resume refactoring regarding GPX #587

@dennisguse

Description

@dennisguse

While checking the pause/resume refactoring, I found the implemented functionality is not supported by GPX (i.e., the generated GPX is not in complaince with version 1.1.).

Context

We now store trackpoints that do not have a actual location (i.e., where generated by the user and only contain a timestamp).
And the plan was to export those, so we can actually backup/restore the trackstatistics.

Issue

While KML supports empty gx:coords (i..e, https://developers.google.com/kml/documentation/kmlreference#gxcoord ), this is not supported by GPX as here the lat and lon attributes must be present (and valid numbers).
In GPX a track (trk) contains track segments (trkseq) which contain trkpt that are of type wptType and wptType defines that lat&lon must be present.

Options

  1. We can ignore the standard and just keep everything as it is.
    (users might have trouble importing into other software)
  2. We do not export those trackpoints for GPX.
    (track cannot be restored exactly from GPX)
  3. We do some other magic.

@pstorch @rgmf Any suggestions on what to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionTalking about things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions