This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change RUNNING activity into INDOOR activity

Hi,
I do an indoor activity on a treadmill but I launched on my watch a running activity (outdoor).
So when I sync the activity on my Garmin Connect account data are not good ! It says I run 180 meters instead of 3 km on the treadmill ! Is it possible to modify the original file (running activity) in order to use it as if it was an indoor running activity ?
I know that I can edit the activity in Garmin Connect and force the distance from 180 m to 3 km but it was not exactly 3 km (I dont remember the exact distance) and I want to use the internal data of the activity (cadence)
Thanx
  • Is it possible to modify the original file (running activity) in order to use it as if it was an indoor running activity ?


    I'm sure you can download the original FIT file for the activity, either in Garmin Connect or directly from your watch, and then use an appropriate editor to edit the file contents, such that it would present as a treadmill running activity record when the modified file is imported into Garmin Connect.

    I want to use the internal data of the activity (cadence)


    It will be entirely up to you what you overwrite the contents of the FIT file with, no matter how sensible or nonsensical, scientific or arbitrary you want to make the numbers you insert.
  • I'm sure you can download the original FIT file for the activity, either in Garmin Connect or directly from your watch, and then use an appropriate editor to edit the file contents, such that it would present as a treadmill running activity record when the modified file is imported into Garmin Connect.



    It will be entirely up to you what you overwrite the contents of the FIT file with, no matter how sensible or nonsensical, scientific or arbitrary you want to make the numbers you insert.


    I think that some data are produced during the running session then saved at the same time the fit file is created. I opened the fit file of my running indoor session and the DistanceMeters tag is set to 178 meters. So this distance is hardly set in the file and not calculated AFTER the session with cadence or GPS data.
    And I saw that the value of the tag "activity" is "running" for both running indoor and running outdoor session.
  • Of course the distance was recorded as a static value in the FIT file by your Garmin device, instead of left to Garmin Connect or some other software to (re)calculate using a series of point data. However, it possible for you to harvest the point data, apply whatever algorithm you choose to estimate the distance to your satisfaction, and then write that distance into a modified FIT file. As for the activity type, I'm pretty sure there are separate subtypes for road running, trail running and treadmill running that can be written into a FIT file.
  • As for the activity type, I'm pretty sure there are separate subtypes for road running, trail running and treadmill running that can be written into a FIT file.


    I started an indoor running session, open the FIT file produced and there is no difference with an outdoor running session :

    Indoor running session tcx header file :
    <?xml version="1.0" encoding="UTF-8"?>
    <TrainingCenterDatabase
    xsi:schemaLocation="www.garmin.com/.../v2 www.garmin.com/.../TrainingCenterDatabasev2.xsd"
    xmlns:ns5="www.garmin.com/.../v1"
    xmlns:ns3="www.garmin.com/.../v2"
    xmlns:ns2="www.garmin.com/.../v2"
    xmlns="www.garmin.com/.../v2"
    xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:ns4="www.garmin.com/.../v1">
    <Activities>
    <Activity Sport="Running">


    Outdoor running session tcx header file :
    <?xml version="1.0" encoding="UTF-8"?>
    <TrainingCenterDatabase
    xsi:schemaLocation="www.garmin.com/.../v2 www.garmin.com/.../TrainingCenterDatabasev2.xsd"
    xmlns:ns5="www.garmin.com/.../v1"
    xmlns:ns3="www.garmin.com/.../v2"
    xmlns:ns2="www.garmin.com/.../v2"
    xmlns="www.garmin.com/.../v2"
    xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:ns4="www.garmin.com/.../v1">
    <Activities>
    <Activity Sport="Running">


    The only differences are no GPS values (no <Position> tag) nor AltitudeMeters/DistanceMeters tag...
  • Is it possible to modify the original file




    Don't conflate a FIT file with a TCX file. The original file is a FIT file.

    If you look in (the Profile.xlsx file in) the FIT SDK Release 20, you'll clearly see there is a sub_sport attribute. If the sport attribute has the value of 1 (running) and the sub_sport attribute also has the value of 1 (treadmill) in the FIT file contents, then Garmin Connect will recognise the activity record as being for indoor/treadmill running upon the FIT file being imported.