I'm wondering why the GPX exported from Runkeeper/Strava into Dropbox does not include activity type information inside the file. Is this on purpose or just because it wasn't needed?
This is how a GPX saved in Strava and downloaded from Strava starts - includes type "9" meaning run:
This also means that if an activity is saved to Dropbox with a filename template that doesn't include the type in the pattern, then it can't be imported back into another service from there, because the type information was lost…
I'm mostly asking because I'm thinking about building some kind of app that lets me browse all past workouts by parsing GPX files, and getting the type info from a tag inside the GPX file seems like a much safer method than trying to guess it from the filename.
I'm wondering why the GPX exported from Runkeeper/Strava into Dropbox does not include activity type information inside the file. Is this on purpose or just because it wasn't needed?
This is how a GPX saved in Strava and downloaded from Strava starts - includes type "9" meaning run:
And this is how it looks in Dropbox saved by Tapiriik - name is there but the type isn't:
This also means that if an activity is saved to Dropbox with a filename template that doesn't include the type in the pattern, then it can't be imported back into another service from there, because the type information was lost…
I'm mostly asking because I'm thinking about building some kind of app that lets me browse all past workouts by parsing GPX files, and getting the type info from a tag inside the GPX file seems like a much safer method than trying to guess it from the filename.