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

Cannot upload .fit file after following Strava route - .fit file is 26MB!!

Former Member
Former Member

I recorded a ride today on my Edge 530 and for the first time I attempted to follow a Strava Route through Connect IQ.  The resulting .fit file after saving the ride  is ~26MB in size, as opposed to the usual 400-600KB of my other similar rides.  As a result I cannot upload this file now to Garmin or Strava and view my ride data at all.
Is there any reason the file size would be so big when following a route? and is there anyway I can strip out the route following data from my .fit file and still keep all other data - speed, power, elevation, HR, etc?
I am currently on cycling holiday in Italy and of course the ride went up Tre Cime di Lavaredo so I would be super disappointed if I cannot save and view my ride at all.
Many thanks, Grant.

  • Former Member
    0 Former Member over 6 years ago in reply to aweatherall

    Hi , thank you for the prompt reply and added information. You can find the zipped file here:

    /cfs-file/__key/communityserver-discussions-components-files/402/2019_2D00_06_2D00_30_2D00_10_2D00_06_2D00_40.fit.zip

    It'd be great if there is a way to fix it - I'm very curious to know what needs to be done to it: can you recommend a particular Python library (e.g. https://github.com/dtcooper/python-fitparse ? ), or does one have to use the java SDK provided at https://www.thisisant.com/resources/fit ? 

    I'm also puzzled by the fact that converting the .fit file to .csv format (with something like GoldenCheetah) brings its size down to 2.3MB, but then converting this csv back to .tcx format brings the size back up to >23MB.

    As you'll notice the file also appears to have 26072 entries for an activity duration of 26841s - meaning almost one entry every 1s even though I had the device set on "Smart" recording interval.

    As for syncing with Garmin Connect: I think it may be broken atm because of that huge .fit file - so I'll try fixing that first and then see whether the stats update.

    Happy to provide further information to help the devs fix the bug. In the meantime thank you for your offer to fix the file.

  • I suspect that GoldenCheetah is stripping out the navigation instructions that are bloating the file as it does not know about them. The TCX format because it is plan text and XML is not very compact, unlikely the FIT format that is a binary. 

    You can try running the TCX file through a converter to FIT.

    JavaWa RTWtool

    Tcxconverter 

    I'm using the FIT SDK.

    Try this

    2019-06-30-10-06-40_fixed.fit

  • Former Member
    0 Former Member over 6 years ago in reply to aweatherall

    Thank you very much , I've put the file on the device and it does not choke on it anymore - and as a consequence it has also appeared on Garmin Connect. I do hope that this bug will be fixed soon.

    Now I'm going to try to figure out why the batter drops really quickly when the device is not in use. Your support is appreciated, and I want very much to like that device but I must say it just does not seem production ready.

  • Former Member
    0 Former Member over 6 years ago in reply to Former Member

    As a quick follow up on the above: it seems that deactivating Wifi and only ever using bluetooth has significantly improved the responsiveness and battery situation.

    Stating the obvious but for future releases if both bluetooth and wifi should not be used together then the UI should not make that possible at all. Would save everyone a lot of headache!

  • Hey aweatherall

    I've just done a brilliant hike in Zermatt with the Edge in my pocket, followed a gpx course and ended up with an unusable 46MB fit file.  I can't see any way to get it fixed except ask for your help.  I'd love to do this myself but I have no way.  

    www.dropbox.com/.../2019-07-11-08-46-17.fit

    would really appreciate your help or suggestions

    thanks, David

  • Oh mate, thank you so much. I really wanted that file. It was such a good walk. Have a look.

    www.relive.cc/.../g37318701503

    Any hints on how you did it? I'm reluctant to follow a course and risk losing the activity until Garmin fixes the bug and of course I don't want to pester you again. 

    Thanks again

    David

  • I'm using the FITSDK to strip out a certain message type and then rebuild the file. This may not be something that most people can do. I have access to some tools that most users would not due to a number of NDA's I have in place with different companies in this space.

    Garmin have told me it is fixed in the next release, which is due sometime this month so hopefully not too many files will be seen with this issue.

  • Former Member
    0 Former Member over 6 years ago in reply to aweatherall

    stripping message types, now you have my attention Wink

    keep up the good works

    much appreciated

    happy sporting