-
Notifications
You must be signed in to change notification settings - Fork 6
Sample .TCX Files
krisirk edited this page Apr 20, 2012
·
4 revisions
I’ll place some .TCX files here to show how the xml looks vs the output from Gpsbabel
Below is the start of the GPS NE Pro .tcx file from my run on the 18th of April
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <TrainingCenterDatabase xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2 http://www.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd"> <Activities> <Activity Sport="Running"> <Id>2012-04-18T17:39:02Z</Id> <Lap StartTime="2012-04-18T17:39:02Z"> <TotalTimeSeconds>276.03000</TotalTimeSeconds> <DistanceMeters>804.61000</DistanceMeters> <MaximumSpeed>12.00000</MaximumSpeed> <Calories>65.6582</Calories> <Intensity>Active</Intensity> <TriggerMethod>Location</TriggerMethod> <Track> <Trackpoint> <Time>2012-04-18T17:39:03Z</Time> <Position> <LatitudeDegrees>46.850575</LatitudeDegrees> <LongitudeDegrees>-96.77945</LongitudeDegrees> </Position> <AltitudeMeters>0</AltitudeMeters> <DistanceMeters>0.00000</DistanceMeters> <SensorState>Absent</SensorState> </Trackpoint> <Trackpoint> <Time>2012-04-18T17:39:06Z</Time> <Position> <LatitudeDegrees>46.850555</LatitudeDegrees> <LongitudeDegrees>-96.779522</LongitudeDegrees> </Position> <AltitudeMeters>0</AltitudeMeters> <DistanceMeters>5.84000</DistanceMeters> <SensorState>600</SensorState> </Trackpoint> <Trackpoint> <Time>2012-04-18T17:39:09Z</Time> <Position> <LatitudeDegrees>46.850523</LatitudeDegrees> <LongitudeDegrees>-96.77959</LongitudeDegrees> </Position> <AltitudeMeters>0</AltitudeMeters> <DistanceMeters>12.06000</DistanceMeters> <SensorState>600</SensorState> </Trackpoint>
Below is the output from the waypoint file from download.py and converted to a .tcx with Gpsbabel
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <TrainingCenterDatabase xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2 http://www.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd"> <Activities> <Activity Sport="Running"> <Id>2012-04-18T22:39:03Z</Id> <Lap StartTime="2012-04-18T22:39:03Z"> <TotalTimeSeconds>2411</TotalTimeSeconds> <DistanceMeters>5710.943465</DistanceMeters> <MaximumSpeed>0</MaximumSpeed> <Calories>0</Calories> <AverageHeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t"> <Value>163.072</Value> </AverageHeartRateBpm> <MaximumHeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t"> <Value>189</Value> </MaximumHeartRateBpm> <Intensity>Active</Intensity> <TriggerMethod>Manual</TriggerMethod> <Track> <Trackpoint> <Time>2012-04-18T22:39:03Z</Time> <Position> <LatitudeDegrees>46.850575</LatitudeDegrees> <LongitudeDegrees>-96.779450</LongitudeDegrees> </Position> <AltitudeMeters>280.600000</AltitudeMeters> </Trackpoint> <Trackpoint> <Time>2012-04-18T22:39:06Z</Time> <Position> <LatitudeDegrees>46.850555</LatitudeDegrees> <LongitudeDegrees>-96.779522</LongitudeDegrees> </Position> <AltitudeMeters>280.300000</AltitudeMeters> <HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t"> <Value>120</Value> </HeartRateBpm> </Trackpoint>