Changeset c555386 in OpenWorkouts-current for ow/tests/fixtures/20181230_101115.gpx


Ignore:
Timestamp:
Jan 11, 2019, 11:56:20 AM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
d17dffe
Parents:
b73ae09
Message:

(#26) Several bugfixes when loading data from fit, then generating gpx code

from it:

  • Ensure track points are added to a generated gpx (from a fit file) if they exist.
  • Ensure ascent (uphill), descent (downhill) and distance data is added to the Workout object if there is any in the fit file (fixes loading fit files for indoor training without gps data on them)
  • Load the "sport" property from the fit file when loading data from fit into a Workout object
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/tests/fixtures/20181230_101115.gpx

    rb73ae09 rc555386  
    5826958269            <gpxtpx:cad>0</gpxtpx:cad>
    5827058270          </gpxtpx:TrackPointExtension>
    58271           <gpxtpx:TrackPointExtension>
    58272             <gpxtpx:atemp>3</gpxtpx:atemp>
    58273             <gpxtpx:hr>139</gpxtpx:hr>
    58274             <gpxtpx:cad>0</gpxtpx:cad>
    58275           </gpxtpx:TrackPointExtension>
    58276         </extensions>
    58277       </trkpt>
    58278       <trkpt lat="43.02351839840412" lon="-7.338556135073304">
    58279         <ele>726.0</ele>
    58280         <time>2018-12-30T11:48:21Z</time>
    58281         <extensions>
    58282           <gpxtpx:TrackPointExtension>
    58283             <gpxtpx:atemp>3</gpxtpx:atemp>
    58284             <gpxtpx:hr>140</gpxtpx:hr>
    58285             <gpxtpx:cad>0</gpxtpx:cad>
    58286           </gpxtpx:TrackPointExtension>
    58287           <gpxtpx:TrackPointExtension>
    58288             <gpxtpx:atemp>3</gpxtpx:atemp>
    58289             <gpxtpx:hr>139</gpxtpx:hr>
    58290             <gpxtpx:cad>0</gpxtpx:cad>
    58291           </gpxtpx:TrackPointExtension>
    5829258271        </extensions>
    5829358272      </trkpt>
Note: See TracChangeset for help on using the changeset viewer.