Hi All,
It's been many years since I have been here!
So, when I ride my bike I want to be able to extract power data from the ride and overlay this data on videos I record on my GoPro. Here are the issues:
* The ride data includes power data from my power meter
* When exporting data, it is a GPX file, saple below
* As you can see from the xml in the GPX file, the power data has been stripped
* If I export a TCX file this is richer and includes power data, see below GPX file
* The problem is that I cannot use the TCX file to overlay data onto video in the Garmin VIRB video editing software as it only allows GPX files
* So, what I want is to introduce the power data into the GPX file somehow, maybe through a transformation using a different schema
* As a pointer I found this XSD file named in the TCX file that does include power data in:
So could the issue be that Garmin needs to get involved to create the new schema that allows a conversion of the <Watts> tag into <ns3ower> in a new version of GPX extension?
Do techie cyclists with Garmin action cams have the same issue as GoPro 5 people?
Thanks for your help!
GPX sample
<?xml version="1.0" encoding="UTF-8"?>
<gpx creator="StravaGPX" version="1.1" xmlns=" xmlns:xsi=" xsi:schemaLocation=" xmlns:gpxtpx=" xmlns:gpxx=" <metadata>
<time>2017-06-04T07:12:18Z</time>
</metadata>
<trk>
<name>The trolls have awoken, and they are hungry...</name>
<trkseg>
<trkpt lat="51.6335750" lon="-0.3978080">
<ele>39.2</ele>
<time>2017-06-04T07:12:18Z</time>
<extensions>
<gpxtpx:TrackPointExtension>
<gpxtpx:atemp>20</gpxtpx:atemp>
<gpxtpx:hr>72</gpxtpx:hr>
<gpxtpx:cad>54</gpxtpx:cad>
</gpxtpx:TrackPointExtension>
</extensions>
</trkpt>
TCX sample
<?xml version="1.0" encoding="UTF-8"?>
<TrainingCenterDatabase
xsi:schemaLocation=" xmlns:ns5=" xmlns:ns3=" xmlns:ns2=" xmlns=" xmlns:xsi=" xmlns:ns4=" <Activities>
<Activity Sport="Biking">
<Id>2017-04-22T11:01:04.000Z</Id>
<Lap StartTime="2017-04-22T11:01:04.000Z">
<TotalTimeSeconds>19879.0</TotalTimeSeconds>
<DistanceMeters>68904.31</DistanceMeters>
<MaximumSpeed>15.864999771118164</MaximumSpeed>
<Calories>1414</Calories>
<AverageHeartRateBpm>
<Value>139</Value>
</AverageHeartRateBpm>
<MaximumHeartRateBpm>
<Value>183</Value>
</MaximumHeartRateBpm>
<Intensity>Active</Intensity>
<Cadence>145</Cadence>
<TriggerMethod>Manual</TriggerMethod>
<Track>
<Trackpoint>
<Time>2017-04-22T11:01:04.000Z</Time>
<Position>
<LatitudeDegrees>50.6385697145015</LatitudeDegrees>
<LongitudeDegrees>-3.470548801124096</LongitudeDegrees>
</Position>
<AltitudeMeters>25.0</AltitudeMeters>
<DistanceMeters>4.690000057220459</DistanceMeters>
<HeartRateBpm>
<Value>113</Value>
</HeartRateBpm>
<Cadence>83</Cadence>
<Extensions>
<ns3:TPX>
<ns3:Speed>4.353000164031982</ns3:Speed>
<ns3:Watts>250</ns3:Watts>
</ns3:TPX>
</Extensions>
</Trackpoint>
It's been many years since I have been here!
So, when I ride my bike I want to be able to extract power data from the ride and overlay this data on videos I record on my GoPro. Here are the issues:
* The ride data includes power data from my power meter
* When exporting data, it is a GPX file, saple below
* As you can see from the xml in the GPX file, the power data has been stripped
* If I export a TCX file this is richer and includes power data, see below GPX file
* The problem is that I cannot use the TCX file to overlay data onto video in the Garmin VIRB video editing software as it only allows GPX files
* So, what I want is to introduce the power data into the GPX file somehow, maybe through a transformation using a different schema
* As a pointer I found this XSD file named in the TCX file that does include power data in:
So could the issue be that Garmin needs to get involved to create the new schema that allows a conversion of the <Watts> tag into <ns3ower> in a new version of GPX extension?
Do techie cyclists with Garmin action cams have the same issue as GoPro 5 people?
Thanks for your help!
GPX sample
<?xml version="1.0" encoding="UTF-8"?>
<gpx creator="StravaGPX" version="1.1" xmlns=" xmlns:xsi=" xsi:schemaLocation=" xmlns:gpxtpx=" xmlns:gpxx=" <metadata>
<time>2017-06-04T07:12:18Z</time>
</metadata>
<trk>
<name>The trolls have awoken, and they are hungry...</name>
<trkseg>
<trkpt lat="51.6335750" lon="-0.3978080">
<ele>39.2</ele>
<time>2017-06-04T07:12:18Z</time>
<extensions>
<gpxtpx:TrackPointExtension>
<gpxtpx:atemp>20</gpxtpx:atemp>
<gpxtpx:hr>72</gpxtpx:hr>
<gpxtpx:cad>54</gpxtpx:cad>
</gpxtpx:TrackPointExtension>
</extensions>
</trkpt>
TCX sample
<?xml version="1.0" encoding="UTF-8"?>
<TrainingCenterDatabase
xsi:schemaLocation=" xmlns:ns5=" xmlns:ns3=" xmlns:ns2=" xmlns=" xmlns:xsi=" xmlns:ns4=" <Activities>
<Activity Sport="Biking">
<Id>2017-04-22T11:01:04.000Z</Id>
<Lap StartTime="2017-04-22T11:01:04.000Z">
<TotalTimeSeconds>19879.0</TotalTimeSeconds>
<DistanceMeters>68904.31</DistanceMeters>
<MaximumSpeed>15.864999771118164</MaximumSpeed>
<Calories>1414</Calories>
<AverageHeartRateBpm>
<Value>139</Value>
</AverageHeartRateBpm>
<MaximumHeartRateBpm>
<Value>183</Value>
</MaximumHeartRateBpm>
<Intensity>Active</Intensity>
<Cadence>145</Cadence>
<TriggerMethod>Manual</TriggerMethod>
<Track>
<Trackpoint>
<Time>2017-04-22T11:01:04.000Z</Time>
<Position>
<LatitudeDegrees>50.6385697145015</LatitudeDegrees>
<LongitudeDegrees>-3.470548801124096</LongitudeDegrees>
</Position>
<AltitudeMeters>25.0</AltitudeMeters>
<DistanceMeters>4.690000057220459</DistanceMeters>
<HeartRateBpm>
<Value>113</Value>
</HeartRateBpm>
<Cadence>83</Cadence>
<Extensions>
<ns3:TPX>
<ns3:Speed>4.353000164031982</ns3:Speed>
<ns3:Watts>250</ns3:Watts>
</ns3:TPX>
</Extensions>
</Trackpoint>