TCX export as Activity rather than as Course

Daniel Aschauer shared this idea 1 year ago
Completed

TCX export is now exporting a Course. It would be helpful to export as Activity, so the tcx can be uploaded to Garmin connect and/or other platforms that support tcx (e.g. Runalyze: https://runalyze.com/index.php)

Schema: http://www8.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd

Comments (8)

photo
1

100% agree! If all sensor data (collected from "ant" compatible devices) could be recorded and exported to Garmin Connect, I would leave my dedicated GPS at home for city walks and hikes (Garmin Oregon 600). Would like to output speed, distance, heart rate, elevation, temperature, and cadence (from bicycle, or or pod). Calculation and recording of Calories would be icing on the cake! GPX file exports to Garmin Connect correctly, but lacks much of the desired sensor data. Everything displays correctly during activity, but does not export to file without error from Garmin Connect. Love Locus Pro!

photo
1

Looks like importing a tcx file to Garmin Connect is still a problem? I don't blame Menion for not forking over $5000 to Garmin to do this! Is there a backdoor fix for this (to get ANT sensor data uploaded)?

photo
1

Hello guys,

is anyone of You willing to provide me some TCX file with these "activities" as a sample? I'm not promising, but at least I may look how complicated is it. Thanks

photo
1

Just voted for this. And there:

http://help.locusmap.eu/topic/tcx-and-gpx-export

I gave a step-by-step guidance what to change at the current Locus TCX format to get an activity-based file.

(by looking at TCX schema .xsd and a Garmin .tcx - and the result could be imported to SportTracks program)

photo
1

Hi guys,

you may thanks (me too) @HyPhan for extra work he had with precise description of what change to allow export to "Activity" as well.

Idea will be implemented in next version.

EDIT: One note. Because I do not use TCX , if anyone found any tags, content that may be improved in this export, please write me precise changes here, I'll gladly improve it!

photo
1

Used new version for the first time yesterday evening.

After I realized you have to choose the new activity sub-type in TCX export, the resulting file could successfully be imported (to ST). In comparison to the GPX export (where I still need to change a schema version of an include, so TCX is now my format of choice) the track, Heartrate and speed diagrams look identical.

Only the "paused" duration (actually I did not stop, only shows a few seconds) and the "fastest time" (probably searching for the fastest km anywhere in the run) differ a bit - but these are probably not included pre-calculated in the exports, but calculated by ST.

So - it worked - Thanks again!

A next step could be to include lap information in the Activity TCX (every 1km by default, or what is defined for the audio coach).

And it would be perfect if one could have multiple formats for auto-export (I guess GPX is still better suitable than TCX for non-running-activities like mountain hikes or skiing for import in Google Earth or such).

photo
1

Since the newest version, TCX is broken.

Calories are given as '0.0', but the field is an Integer. So the XML is not valid according to its xsd.

An online validator said this: (after changing this back to '0' the import worked again)

--------

Not valid.

Error - Line 11, 28: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 28; cvc-datatype-valid.1.2.1: '0.0' is not a valid value for 'integer'.

Error - Line 11, 28: org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 28; cvc-type.3.1.3: The value '0.0' of element 'Calories' is not valid.

photo
1

Thank you, this happen without proper testing.

Issue will be fixed in next version.

photo