sports-lib icon indicating copy to clipboard operation
sports-lib copied to clipboard

Incorrect transformation of TCX to GPX

Open frohlichcortezh opened this issue 4 years ago • 0 comments

I wrote a simple node app using this lib to convert TCX files from Endomondo, to GPX so I could import them into FitoTrack.

Here are the original TCX file from Endomondo and the GPX file generated after using the lib. 2020-11-09 12_18_49.0.TCX.TXT 2020-11-09 12_18_49.0.GPX.TXT

Since there's no track type FitoTrack tags it as "Other". Would it be possible to convert TCX <Activity Sport="Running"> to GPX <trk>...<type>Running</type>...</trk> ?

frohlichcortezh avatar Dec 09 '20 10:12 frohlichcortezh