Barometer support.

336 views
Skip to first unread message

Jay

unread,
Sep 6, 2014, 2:53:02 AM9/6/14
to strav...@googlegroups.com

     In the documentation, it notes: 

     "If provided, elevation data is read from all file types. If the device is undetectable or does not contain a barometric altimeter, the elevation will be recomputed using the provided lat/lng points and an elevation database."

     Is there a list somewhere of devices that you detect for Barometric sensors? Or devices that you understand or detect in general? I would love to list my actual device (eTrex 30) as the source of my data, but I have to edit the file before upload to trick Strava into thinking it's an Edge 800 in order for it to use the elevation data from the device. (or even recognize the device...if I just load the GPX, it says it's a generic mobile or something)

      It would be handy if there were at least a flag in the case of "unknown" devices that we could provide with upload to say the altitude data supplied is barometrically derived. Of course, it would also be cool to add the eTrex 30 to the list of known devices that have a barometer in them. 

-= Jay =-

Ifor Powell

unread,
Sep 7, 2014, 3:38:01 AM9/7/14
to strav...@googlegroups.com
I would really like a way of being able to control the treatment of the elevation data when uploading with the API.   58% of my users have a pressure sensor on there phone that gets used for the altitude recording so have good quality data.  Unless I spoof a Garmin device of some sort this data just gets blown away after uploading.  An extra parameter with the upload data allowing me to control the applying the elevation correction would be an ideal solution.

Ifor

Jay

unread,
Sep 15, 2014, 3:37:52 PM9/15/14
to strav...@googlegroups.com
So....

     This thread has been idle for a bit. Is there any chance of getting a device list? even a No response is acceptable. I would just like to know if I need to move on and just continue to forge to a device type I *know* forces Strava to accept altimeter data from the device, or if I have options of using more accurate device names in some cases. 
     The follow up to the thread of adding a flag would be awesome as well, but I'm suspecting that's at the very least a ways down the road. 

-= Jay =-

Paul Mach

unread,
Sep 15, 2014, 3:46:58 PM9/15/14
to Jay, strava-api
Eventually we'll have to rework this a bit, but it's kind of a big refactor. Maybe we can add a "generic barometer" device. I'll work on that next week. 

Dr. Paul Mach
STRAVA

--
You received this message because you are subscribed to the Google Groups "Strava API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Mach

unread,
Sep 23, 2014, 5:32:33 PM9/23/14
to Jay, strava-api
I just added a generic barometer device. Currently just TCX and GPX are supported and you'll need to add " with barometer" to the end of the creator name. So for TCX files something like:

<Creator>
        <Name>My Awesome App with barometer</Name>
</Creator>

And for GPX it should be in the initial GPX tag like:

<gpx version="1.1" creator="Best app ever with Barometer">

I will be updating the documentation shortly. Let me know if you have any questions or issues.


Dr. Paul Mach
STRAVA

Tom Wassink

unread,
Jun 18, 2015, 2:43:27 PM6/18/15
to strav...@googlegroups.com, sy...@coronastreet.net
Are there any options for FIT file uploads? Can't it be part of the upload parameters (just a boolean?).
Message has been deleted

ama...@tiscali.it

unread,
Jan 3, 2016, 2:16:20 PM1/3/16
to Strava API

@Dr. Paul Mach
Congratulation for the idea to add "with barometer" to the end of the creator name of TCX and GPX files in order to force acquiring elevation data from the files (instead of recomputing elevations through the Strava internal elevation db).
In the GPX example at
https://strava.github.io/api/v3/uploads/ I think that …with Barometer">... (uppercase) might not really work, while ...creator="iPhone with barometer"... (lowercase) does work.

Reply all
Reply to author
Forward
0 new messages