UrbanBiker icon indicating copy to clipboard operation
UrbanBiker copied to clipboard

Add TCX export for Heart Rate, Cadence, Power

Open Dieggu opened this issue 5 years ago • 5 comments

As far as I know, the GPX-format does not provide the option to add parameters like heartrate, cadence, power.

As UrbanBiker has all these values, it would be great to incorporate them into a new TCX export feature. That way, it would be possible to upload the data to tools like e.g. Golden Cheetah or TrainingPeaks for further analysis.

Dieggu avatar Mar 24 '19 14:03 Dieggu

Hi Dieggu, sorry for the late reply. GPX does indeed support all those parameters (via an extension), and this is exactly what UrbanBiker is doing - putting them into the GPX file, so the services like Strava can pick them up. Golden Cheetah and TrainingPeaks should be able to read this data, too.

Also take a look at SVG files created with UrbanBiker (placed inside track zip file), they can be easily converted to .csv files if further processing is desired. Please see here for instructions: http://urban-bike-computer.com/help/#15. Thanks for the feedback!

Sublimis avatar Apr 09 '19 02:04 Sublimis

Hi Sublimis, thanks for your reply. I had a look at the gpx file and I can see the mentioned data, but neither Golden Cheetah nor TrainingPeaks extract them from the given gpx file. I had a look at the SVG files. They give really nice visualizations of what happened in one training, but they do not support the added functionality of Golden Cheetah / TrainingPeaks which compute several metrics based on different trainings, like acute training load, chronic training load, fatigue, training stress balance,...

Would be great to have this. I might also try a gpx to tcx converter, but I doubt the additional values will be in.

Dieggu avatar Apr 09 '19 19:04 Dieggu

Just tried with Golden Cheetah, it extracts everything except power. Maybe you could suggest to them to also include support for gpxpx:PowerInWatts GPX tag. Their source code suggests this should be supported (https://github.com/GoldenCheetah/GoldenCheetah/blob/master/src/FileIO/GpxRideFile.cpp), but we're not sure why it doesn't work. Schema for the tag can be found here: https://www8.garmin.com/xmlschemas/PowerExtensionv1.xsd.

TrainingPeaks, on the other hand, doesn't even extract cadence, hr, and temperature. It seems like they simply ignore all GPX format extensions.

As for the TCX format, conversion from GPX should be straightforward but we haven't find a reliable convertor yet. Golden Cheetah does a great job, but again, lacks power. Also, it seems like temperature data is nonexistent for TCX format. In any case, we'll consider to include TCX export feature for the future. Thanks again!

Sublimis avatar Apr 10 '19 10:04 Sublimis

Thanks for your reply. I wonder why I did not recognize, that cadence and heart-rate are imported correctly. Sorry for that. In the meanwhile, I upgraded to the latest dev-version (v3.5-DEV1903) of GoldenCheetah. Power is still not recognized by GoldenCheetah, so I posted a request for GC.

Thanks for considering tcx-export, would be great, at least for TrainingPeaks. Link to the issue in Golden Cheetah: https://github.com/GoldenCheetah/GoldenCheetah/issues/3084

Dieggu avatar Apr 20 '19 05:04 Dieggu

I also posted a request to TrainingPeaks. They do not seem to extend their GPX import as they stated the following: "Due to the fact that the industry standard is .FIT and .TCX, we are migrating more that way." May be even more reason to look into .TCX and may be also .FIT for Urban Biker.

Regards, Dieter

Dieggu avatar May 01 '19 17:05 Dieggu