osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.64k stars 1.01k forks source link

Feature request: sport activities #6174

Open ksz16 opened 5 years ago

ksz16 commented 5 years ago

It would be great to upload tracks to sport services like Strava or Runkeeper directly from Osmand. Is it possible to implement this feature in the near future?

Generally, Osmand is a great app. But it lacks some important sports features like the aforementioned upload, support for Bluetooth and Ant+ devices or sport tracking profiles. In my opinion this is important because implementation of these features could greatly expand the group of Osmand users.

vshcherb commented 5 years ago

This should come from Strava/Runkeeper, so if you hit button Share GPX other apps should be able to accept this track, otherwise it is not clear how it could work.

axd1967 commented 5 years ago

A workaround is to be able to export to a GPX file and then import that file on other systems.

The current sharing feature is not very helpful (eg paste the content provider URI on the clipboard? how could I paste such a string in an email?)

ur208 commented 2 years ago

This is the one feature I am missing the most in the best app I could find for iOS. I came back to iOS from Android, where I used Locus Maps. It is a great tool with lots of features. One of them is to automatically upload your recorded track to Strava (no need to manually export). The Garmin app on iOS may automatically upload the tracks as well. There is no need to manually export tracks if Strava offers an API for that.

XandrexOSM commented 9 months ago

support for Bluetooth and Ant+ devices

hello @ksz16 , did you notice that ANT+ and then Bluetooth support for sensors were releaseed in 4.5? I enjoy having my heartrate in OsmAnd with my Polar sensor.

XandrexOSM commented 9 months ago

This should come from Strava/Runkeeper, so if you hit button Share GPX other apps should be able to accept this track, otherwise it is not clear how it could work.

hello @vshcherb, now STRAVA has an entire ecosystem of third-party services that will connect to STRAVA either to publish data or to fetch data. There are litererally hundreds of such services today. It is in two parts :

I give my personal example: I can record my track & heart rate using the POLAR app, and since I linked my Polar data to Strava, once the record is done, my polar data is uploaded directly to Strava in private mode (because it is my current setup). Currently I record my heartrate both in Polar and in OsmAnd (it works fine as long as I start the recording first with the Polar app, and then with OsmAnd).

vladdancer commented 5 months ago

A workaround is to be able to export to a GPX file and then import that file on other systems.

This is how I do exactly. Personally, I'm fine with manual upload to Strava but I will look into their API.

Currently I record my heartrate both in Polar and in OsmAnd (it works fine as long as I start the recording first with the Polar app, and then with OsmAnd).

I would like to share my use case here. I'm using Magene BLT heart rate monitor to record hr data while running. Works great with OsmAnd on Android!

But when I export my gpx track from OsmAnd to Strava it seems hr data missed. I looked into gpx format specification and it seems that originally it was not designed to contain such data. But gpx specification allows contain ANY data inside <extensions> xml tag. I see OsmAnd saves hr data inside custom property <osmand:hr>. So... checking Strava supporting gpx specifications docs I found that if we replace osmand:hr tag instances with heartrate then Strava can parse hr data and display it in app.

Here how I automated this process (command adopted for mac). sed -i '' 's/osmand:hr/heartrate/g' 2024-03-25_19-20_Mon.gpx

fioletova commented 1 month ago

Are there any plans on implementing this feature? Strava's API seems good enough to integrate with.

My friends and I face a choice to either use both apps at the same time just to save us the trouble of exporting manually each time. Or doing this the old way when we're out for the whole day and need to save up the battery.

Having an automatic upload would be a life-changer.