ptrv / gpx2spatialite

GNU General Public License v3.0
23 stars 8 forks source link

ask for feature: heart rate #29

Open thanasisn opened 6 years ago

thanasisn commented 6 years ago

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 commented 6 years ago

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!!!