Convert tcx file to fit file

broken image
broken image
broken image

Once you have this file, move it to the gpsbabel installation directory. The bat extension means this will be the batch file we will run to do the work. Type “dir > fit2gpx.bat” this will list the contents of the directory into a file named “fit2gpx.bat”.Navigate to the folder where you saved the FIT files.Open windows command line (start -> run -> then type cmd).The trick is to use command line mode and a windows batch file. GPS babel allows the conversion of pretty much any GPS file format to pretty much any other, but the GUI mode does not allow a batch conversion (that could find). Let’s not focus on negatives… The solution

broken image

The most efficient solution was to find a way to batch convert the exported FIT files to GPX. Developing the code to do this myself looks like a big task that isn’t directly contributing to the core capability I’m trying to develop. I investigated Ruby gems to read FIT files, but they seem immature – at least they didn’t work with my files. My project requires that I can load my activity files into a MySQL database using ruby but while I have a ruby script to load GPX files, Strava and Movescount will only batch export FIT files. In the end it was easy, here’s how I did it. I spent far too long trying to work out how to do this last night.

broken image