Add distance from stationary bike

A place for the community to help each other out with getting the most out of the Combine FIT, GPX or TCX files for Strava Upload Tool.
Post Reply
geneld
Posts: 6
Joined: Fri Feb 12, 2021 8:09 pm

Add distance from stationary bike

Post by geneld »

I'm riding a stationary bike using my Fenix HR to track time and HR, but I can't capture distance. The bike has a readout of distance which I can add to the data in Garmin Connect, but I can't find any way to have the distance show up in Strava when I send over using the tool.

Is there a way to do this?
User avatar
fulmar2
Site Admin
Posts: 255
Joined: Wed Nov 25, 2020 4:21 am
Contact:

Re: Add distance from stationary bike

Post by fulmar2 »

Link to the tool to Add Distance from Stationary Bike.


This is a good question, and one I get a lot. If you export as a FIT or TCX from my tool, the distance from your original files will be embedded in the output file. To get the distance to embed, you will need to make sure you check the "Distance" box in the streams and then check the "Use Existing Embedded Distance" option. Both of those boxes are highlighted in the image below:

Embedding Distance from a GPS file.
Embedding Distance from a GPS file.
User avatar
fulmar2
Site Admin
Posts: 255
Joined: Wed Nov 25, 2020 4:21 am
Contact:

Re: Add distance from stationary bike

Post by fulmar2 »

I re-read your question, and now I see that your device cannot embed distance. This inspired me to write some additional code that manufacturers distance in a linear format. In other words, since you don't have the point-to-point information, you're just going to get one straight line for speed (it will match your average speed)... but the tool will fabricate your total distance based on what you enter in the "Override Total Distance" box. Here is how you need to set up the tool to achieve this:

How to Add Distance from a Stationary Bike to Strava.
How to Add Distance from a Stationary Bike to Strava.

Notice how you need to select "FIT" as your Output File Format. Also, you ought to select "Virtual Ride" to tell Strava that this was an indoor workout. Next, you need to select "Calculate Distance." This tells my tool to fabricate a point-by-point distance for your new file. To do this, the tool counts up the total number of points, and then takes the distance that you enter, and it divides the number of points by the distance. This will cause a flat line in your speed. Hope that helps!
geneld
Posts: 6
Joined: Fri Feb 12, 2021 8:09 pm

Re: Add distance from stationary bike

Post by geneld »

Thanks for the updated feature. Works great.
Post Reply