JGPSTrackEdit is a free portable TCX file editor for Windows. You can edit TCX and many other GPS track files including KML, GPX, etc. When you open a TCX file, it displays track points, basic track information (length, driving time, duration, graph, etc.), and map. Delete the activity in GC so that it will let you upload a new version of the activity later. If using WTracks, click the three-bar icon (top-left) to open the menu, then click the Upload button to import your GPX file. Enter edit mode with the pencil button, followed by the next button to appear below that one. This program allows you to take these files and generate.TCX files for use in your tracking app of choice (e.g. The outputted.TCX files will contain timestamped GPS, altitude, heart-rate, and cadence data where available. Huawei have caught onto us, and you now need a rooted phone to be able to use this method.
So, not being a computer scientist, I can only imagine it must be incredibly tricky for the Garmin folks to write code that will allow you to delete a lap o.O (suspicious look). Because otherwise I can’t figure out why the hell that’s not part of the “edit” feature. I am absent-minded, especially when tired, and have a tendency to leave my Garmin running after the last lap, or accidentally confuse the “lap” with “stop” buttons…anyway. After a few bungled laps on my workout today, I was finally annoyed enough to track down how to do it manually, thanks to Martin Criminale over here. And you can too!
Here are his handy steps, modified a bit by yours truly:
Edit Tcx File Mac
- Upload your messed up activity to Garmin Connect.
- View the messed up activity and click the Export button.
- Select “TCX File” and save the file to your computer.
- Open the file in any basic text editor (Martin prefers Notepad++, I used textedit on my mac)
- Each lap will be surrounded by the <Lap></Lap> tag, delete all the data that goes with the lap you don’t want (there’s a lot of data), including the <Lap> tag, so that you end up with just the closing <Lap> tag from the preceding good lap. I found it was easiest to search for all incidences of “Lap,” and then look at how many seconds long the lap was to choose whether that was the one I wanted to delete.
- Save the modified TCX file to your computer.
- Upload the corrected TCX file to Garmin Connect using the Manual Upload feature.
- Delete the messed up activity from Garmin Connect.
Voila! Now instead of 13 laps, two of which are less than 5 seconds long and one of which was 9 minutes long but I only went 0.2 miles, I have 5 nice pretty 1200m repeats with 5 400m recoveries, and an accurate overall pace reading. (Oh dammit all. This would have been another good occasion for before and after pics!)
Part 2: Surprise! It’s also a midweek workout summary!
We’ll do them in backwards order, since it was today’s workout that provoked the hunt for lap-editing instructions. Aspect ratio converter video.
Edit A Tcx File
Today: 5x1200m on the chip trail, with 400m recovery jogs (so 5 miles in total). The 1200’s were supposed to be at 10k pace, so I figured about 7:40, and the recovery jogs were supposed to be very slow and easy. It went ok but not great–the chip trail is nice and soft, but a bit uneven and I find it similar to running in sand–sort of sloggy and hard on the ankles. But I finished them out ok and then went for about 20 minutes of lifting.
Yesterday: 3.5 miles elliptical and core set.
Tuesday: 4 miles tempo on the treadmill. This was great–I cranked the speed up to 7:24 after a mile, did the last mile at 7:03-6:40 pace, and finished the run in 29:55. Whew! The first time I’ve done 4 miles in under half an hour. Then I did another 30 minutes elliptical to finish out an hour (7.2 miles total).
Edit Tcx File Garmin
Monday: coming right off of TTT I wanted to do something sweaty, but not hurt myself, so I mixed it up a bit and did 3 miles on the erg (rowing) machine. This was fun–it turns out that I row at about the same pace as I run: 7:45-8 minutes per mile. Afterwards I had a few little blisters, and the next day my back and shoulders felt sore, so I think this is a good proxy for cardio and for lifting. I may keep it in the rotation.
Edit Tcx Files
The plan for the weekend is 10 miles at half-marathon pace, as prep for See Jane Run on June 3rd.