This object is in archive! 

Set different GPX creator field

Tomáš Janoušek shared this idea 9 years ago
Completed

Strava.com normally discards elevation data from GPX files and uses SRTM instead, but that's quite imprecise. Their API docs, however, suggest a possibility to turn this off and honor the elevation data: set creator as "something with barometer". When I manually set creator="Locus Android with barometer" and uploaded to the website, elevation was okay. But since I let Locus upload to Strava directly after recording, changing creator is not possible. Would it be possible to either add "with barometer" whenever the pressure sensor is on in Locus, or add a way to customize the creator field? Thanks!

Replies (6)

photo
1

Hi,


have to say that this is little bit weird mechanism - change behavior based on simple content of text field.


Anyway, do you think that altitude should be preserved only in cases of usage of barometer? In case of common measured GPS altitude, we should keep current mechanism so altitude will be computed on Strava site with SRTM files? Just asking for your opinion ...

photo
1

Yeah, it's weird, but is there another way to tell the source of altitude data in gpx? I think they have a list of devices with barometers and this "with barometer" is just a hack for us without a Garmin.


I've never seen an elevation profile from GPS only, but I assume that Strava's elevation "correction" was invented precisely because it wasn't good enough, so I think it makes sense to only add "with barometer" only if it actually comes from a barometric sensor. (But if you're going to add a toggle, then certainly do make it possible to preserve even GPS-only altitudes.)

photo
1

Hmm I was thinking more about some automatic solution, not some extra buttons.


This will be a lot more complicated that it looks at start. Main problem is that in track stored in database has no information about source of altitude. To be true, altitude is computed (modified by sensor), immediately when new location from GPS is received and all services in Locus then use this modified altitude values. Have to think about it more later ...

photo
1

An automatic solution would be great, and now that you're talking about how it's calculated and stored, you might want to think about http://help.locusmap.eu/topic/continuous-pressure-sensor-recalibration as well — especially if that post-processing idea makes sense.


Also, even if you store altitude source for tracks, what about old tracks?

photo
1

I was firstly thinking about some automatic solution, but after some work it show up as a quite complicated task. So I have finally decided to add to export screen simple "Checkbox" named "Preserve measured altitude", that allows to choose if you wants to export altitude also or keep Strava do it's work as now.


Enjoy.

photo
1

Okay, that will do it for me. Thanks a lot!

Replies have been locked on this page!