When I'm uploading an activity using a GPX file, I would very much like to set the sport type correctly. Otherwise it seems like a convoluted method just to update that type. For some reason the activity just ends up being a run. Any thoughts?
If anyone is wondering how I got the sport type to work: I moved to FIT file type, which required some trial and error, but ultimately it is a richer file type and can include more information.
You need to add the <type> XML tag to force the sport type:
<?xml version="1.0" encoding="UTF-8"?>
<gpx ...><trk>
<type>cycling</type>
<trkseg>
<trkpt lat="12.3456" lon="7.8910">
...
Successful test for my cycling activity :)
How to know the other values for the other sport? => Go to an already saved activity, then download it as gpx (not the original!) and you will find the good value for your sport.
It's always been a mess for challenge progression when I uploaded cycling activities that Strava initially considered running.
Hope this help
Reply
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.