altitude is not parsed
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- data
Research direction
Start by tracing how TCX Trackpoint elements are parsed, using the supplied XML example as the reproduction case. Verify that AltitudeMeters is retained in the resulting GeoJSON alongside the other trackpoint data, and add or run the relevant parser test if one exists.
Written by the indexing model from the issue text.
Description
Should parse "AltitudeMeters" (@see example bellow).
<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="Biking">
<Id>2012-05-28T12:09:36Z</Id>
<Lap StartTime="2012-05-28T10:22:00Z">
<TotalTimeSeconds>16310.0</TotalTimeSeconds>
<DistanceMeters>102970.0</DistanceMeters>
<Calories>3460</Calories>
<Intensity>Active</Intensity>
<TriggerMethod>Manual</TriggerMethod>
<Track>
<Trackpoint>
<Time>2012-05-28T10:22:19Z</Time>
<Position>
<LatitudeDegrees>43.604123</LatitudeDegrees>
<LongitudeDegrees>1.412692</LongitudeDegrees>
</Position>
</Trackpoint>
<Trackpoint>
<Time>2012-05-28T10:22:31Z</Time>
<Position>
<LatitudeDegrees>43.604123</LatitudeDegrees>
<LongitudeDegrees>1.412692</LongitudeDegrees>
</Position>
<AltitudeMeters>193.1</AltitudeMeters>
</Trackpoint>
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/tcx
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·