This is a little utility to merge the output of a Garmin heart rate monitor (.tcx file)with a file generated by a GPS logger (Wintec? .gpx file). The merged file is an enhancedGPX file with additional heart rate information added as
TrackPointExtension
for each track point.The Edge 510 can use either a GPX Track or a TCX. A TCX Course has the advantage of embedding your planned route’s cuesheet. So, alongside Garmin’s dedicated navigation, you get beeps and text for each pre-planned cue entry in the cuesheet. This is especially helpful if you have custom cuesheet entries. TCX Converter will combine gpx, I have done that. It handles fit files, so it probably will, but I have no devices that use fit, so cannot say positively. I was waiting for you to chime in on that software.
I wrote this program for a friend who was carrying two separate devices duringhis training and wanted to combine the data into a single GPX file.
It works well for him and for the devices he is using, but I do not knowif there is a general purpose for this program. I wrote this severalyears ago and do not really have a huge interest in it.However, instead of having it just lying around on my local disk, itjust found a new home on GitHub!
There is a very similar project named GpxTcxWelder,which does a similar thing by merging waypoint information from a GPX file into a TCX file. |
Installation
To run the program you need to have at least a Java Runtime Environment >= 6 installed on your computer.
Installing and Running the Pre-packaged Program
- Clone this repository with git or download the zip file by pressing the
Download ZIP
button on the GitHub page. - In case you downloaded the ZIP file, extract the contents to a local directory of your choice.
- Inside directory
target
, you’ll find the following two files:Pick the one which fits your platform best and extract the content to a final installation directory. - On Linux, make file
gpxtcx
executable:and start the program: - On Windows, just double-click
gpxtcx.cmd
.
Directory
testdata
contains a GPX and a TCX file as an examplewhich may be used to create a merged GPX.After reading each of the files, the GPX and the TCX start times will be displayed.
Under theassumption, that logging and heart rate monitor were both started at about the same time,there will still be a slight difference in the time bases because the time ofthe heart rate monitor may not be correct. (The time of the GPS logger will always be correct,because it retrieves the current time from the GPS signal.)
Using the
Align Timebase
button aligns the time of the heart rate monitor with thetime of the GPS logger. The offset is considered when merging the two files.Pressing
Merge & Save
lets you choose and create a merged GPX output file.Build from Sources
If you want to build from sources, you need to have a JDK >= 6 and Maven installed and configured.
Form inside the top level directory of the source distribution, invoke
from the commandline to compile the sources and
.zip
and .tar.gz
in the target directory.To run your compiled program, you may directly execute
gpxtcx
or gpxtcx.cmd
from the targetdirectory.Credits
This software uses JGoodies Formsand JGoodies Looks.
Copyright and License
Licensed under MIT License.See LICENSE for details.
JGoodies Forms and JGoodies Looks Copyrightby JGoodies Software GmbH.Licensed under BSD Open Source License.
The clever Toolbox for all your FIT / TCX / HRM / HRM+GPX files !
- Repair corrupted files with sophisticated error detection and correction
- Edit your files with a modern Graphical User Interface
- Convert between different file formats (FIT <-> TCX <-> HRM <-> GPX)
- NEW: Batch Upload function for Garmin Connect, Strava etc: upload your complete history with one mouse click easily! Never has moving to Garmin Connect been so easy ...
- Analyse your files with Map and Chart features
- Display your activity in Google Maps
- Combine HRM and GPX files into one activity
- Edit Swim Data Files
- Import and Export R-R (HRV) values
- Upload your files to Garmin Connect, Strava TrainingPeaks etc. with ONE click
- Merge multiple files (helpful, if you recorded an activity with two training devices and would like to combine the recorded data into one file)
- Convert courses (FIT) into activites (FIT, TCX, HRM) and activities into courses
This homepage is created for those who are in need of a tool to repair their FIT files. As a matter of fact activity files are sometimes corrupt and cannot beuploaded/imported into training diary software.
The fit file repair tool which I have developed helps you to repair corrupted FIT files and rescue your valuable data.
The main features are:
- import of (corrupted) FIT, TCX and HRM files
- export as FIT, TCX or HRM file
- automatic detection and treatment of data corruption during the import
- modern user interface
- can be used as comfortable file converter for FIT / TCX / HRM file formats
The tool requires a PC with Windows. If someone is interested in developing a Mac or web version of my tool (s)he is invited to contact me and get all the support I can offer.
Feature (I=Import, E=Export) | FIT files | TCX files | HRM files | GPX files |
GPS position data | I+E | I+E | I (*.gpx) | I+E |
Heartrate data | I+E | I+E | I+E | |
Cadence data | I+E | I+E | I+E | |
Speed data | I+E | I+E | I+E | (I) |
Distance data | I+E | I+E | I+E | I |
Power data | I+E | I+E | I+E | |
Temperature data | I+E | |||
R-R (HRV) data | I+E | -- | I+E (*2.hrm) | |
Pool Swim Data | I+E | |||
Open Water Data | I+E | I+E | ||
Weather Conditions | I+E | |||
Batchmode for File Conversion | Yes | Yes | Yes | Yes |
Automatic Data Repair during File Import | Yes | Yes | Yes | Yes |