Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ask for feature: heart rate #29

Open
thanasisn opened this issue Dec 14, 2017 · 1 comment
Open

ask for feature: heart rate #29

thanasisn opened this issue Dec 14, 2017 · 1 comment
Assignees

Comments

@thanasisn
Copy link

Is it easy to add to the database the heart rate recorded on the gpx?
If I can, I would like to try to implement this.....

Here an example from my gpx tracks.

      <trkpt lat="40.1" lon="22.1">
        <ele>550.1</ele>
        <time>2017-12-08T13:03:57Z</time>
        <extensions>
          <gpxtpx:TrackPointExtension>
            <gpxtpx:hr>141</gpxtpx:hr>
          </gpxtpx:TrackPointExtension>
        </extensions>
      </trkpt>
@belasco
Copy link
Collaborator

belasco commented Dec 20, 2017

Hi @natsis, sorry for lateness of reply. I had a chance to research this a little and it looks to me as if gpxpy, the module we rely on to read GPX files, does not support extentions. To quote the readme:

WARNING: The only part of the GPX standard which is not completely implemented are GPX extensions. The API for GPX extensions will change in future versions!!!

@belasco belasco self-assigned this Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants