Skip to content

Conversation

@gazhay
Copy link

@gazhay gazhay commented Oct 25, 2021

I had a need to extract various extra data that had been added to the gpx track points in an extension tag.

This code allows the user to specify which fields to append to each trackpoint.
If a value is not found, appends the value null, otherwise appends the value.

Basic handling - will find Hr,cadence and power and add them to the results.
Could probably iterate any field in the extensions and add it or allow the user to specify.
Can pass an optional array of strings to search gpx extensions for.
will either add null or the value if found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant