-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strava heatmap authentication #2
Comments
When used under WMTS on QGIS with Used to work a couple of days ago thou.... |
yes here the blog describing the changes: https://blog.strava.com/press/heatmap-updates/ |
on site https://www.strava.com/heatmap#18.00/-119.26759/36.19952/blue/all I see a lot of 403 errors (Access denied) on detailed tile levels and after login. Tiles are retrieved from tiles-auth route: https://heatmap-external-b.strava.com/tiles-auth/all/blue/16/11054/25688.png?v=19 |
@mbernasocchi any idea ? issue above ?
It is coming form NextGIS... @simgislab any idea the issue above ? |
@alpter don't use contrib, rarely updated, use http://qms.nextgis.com, search for Strava, may be other sources would help better |
the old heatmap (http://globalheat.strava.com/tiles/both/color1/0/0/0.png) still works but has less features and is not updated anymore i guess. |
hi, you can try this https://heatmap-external-b.strava.com/tiles-auth/all/bluered/{zoom}/{x}/{y}.png?px=256 |
@andrea-del-sarto it gives an error, for example:
Question is: How to add a 'Key-Pair-Id query parameter'? |
@andrea-del-sarto does not work.... |
@tyrasd it seems we can not get the old version of the strava heatmap anymore below zoom 12/13. |
I guess we are stacked at present... until STRAVA / MAPBOX wont solve it... |
sorry, i've use it on osm id/strava id how custom background with strava login :( |
@mourner... see my comment here
|
@alpter as far as I know, Strava has their own heatmap implementation that is completely independent of ours. No idea how to help you here. |
keen to find a fix for this as an end user... I have a Strava login but cant apply the authentication to the iD editor.. will let you know if i hear anything (although I'm not a coder, so might have to use some plain English) |
@inexcitus could you have a look at this issue... any idea ? |
Thanks @scrapperuk @paulmach lets keep it up.. |
@bertt In JOSM its works, adding the cookies values by doing something like this > |
@StevenClays ah interesting, so only with cookie parameters in the request querystring (and not in the request headers)? |
In JOSM this works, but I cannot get QGIS to do this. What could I be doing wrong? I'm not so acquainted with terms as 'request headers', in JOSM I just entered this link and it worked... @bartt |
@StevenClays where did you get that url from? |
@bertt In the JOSM-thread regarding this issue > https://josm.openstreetmap.de/ticket/16100 |
ok thanks :-) At the moment I don't know why QGIS doesn't work with this url but JOSM apparently does work. |
@bertt Thanks for looking into it. Hopefully you can work it out... |
Hi, is it possible to add gps tracks by Yandex (n.maps.yandex.ru)?
^ https://n.maps.yandex.ru/#!/help?z=16&ll=24.740202%2C59.432151&l=nk%23sat |
I have written a script to automatically log in to Strava and receiving of cookies. To do this, I used a Headless Chrome browser controlled by the Puppeteer script. Details and the script on this link: |
I got it working in QGIS: In Chrome, go to: https://www.strava.com/heatmap |
Hi. I updated the API for my service to automatically access Strava tiles without authorization and replacing cookies. You can just use a URL like this: https://anygis.ru/api/v1/Tracks_Strava_All/{x}/{y}/{z} The full list of available URL maps can be found here: |
Help, |
I just cleared my Strava cookies and reloaded the page and I have all of those cookies back. I’m not sure what’s going on for you, but I still have them. |
Everything is working! The keys are apparently updated not immediately, and not after an hour, but after a few hours. |
Help, how can I import https://anygis.ru/api/v1/Tracks_Strava_All/{x}/{y}/{z} into QGis? Thanks |
This has been working for me until recently. Now QGIS is logging the following error: I can get it working with JOSM, but not QGIS. |
And now 4 days later I opened QGIS and the heatmap appeared without changing anything. |
The manual method of creating the URL described by @Jochem-L is working for me again. The Firefox and Chrome plugins from here: https://github.com/zekefarwell/josm-strava-heatmap are also working for me to get the URL with cookie info: |
@nnngrach, It seems like your service has been down for quite some time. It would be great if you could fix that. In any case, thanks for keeping this service up for so long. It gave me a lot of valuable information during hikes and I am missing this dearly. |
Hi guys, I had the same problem and found lots of helpful pointers in this thread, thanks a lot! You might be interested in checking out https://github.com/patrickziegler/strava-heatmap-proxy |
Alternatively, to get Strava Heatmap in QGIS without installing a proxy server
|
@Jochem-L you are right, the sequence you posted above gave me the idea to add a slightly redesigned tool described in https://github.com/patrickziegler/strava-heatmap-proxy#using-the-static-file-configurator Your example above would then boil down to the following line, which will replace all echo "https://heatmap-external-a.strava.com/tiles-auth/all/hot/%7Bz%7D/%7Bx%7D/%7By%7D.png?v=19&Key-Pair-Id=%CloudFront-Key-Pair-Id%&Policy=%CloudFront-Policy%&Signature=%CloudFront-Signature%" | strava-heatmap-auth |
Nice! Unfortunately, I have some problems to get it working. I think I managed to compile strava-heatmap-auth in Windows using Anaconda Prompt. But now strava-heatmap-auth is looking for a config.json it can't find. |
@Jochem-L thanks for trying it that config file is described in https://github.com/patrickziegler/strava-heatmap-proxy#wrench-configuration it holds the strava login credentials in the form {"Email": "...", "Password": "..."} with that in place, you can use it in a custom location with echo "..." | strava-heatmap-auth --config "<path-to-your-config>" |
Thanks it works! Sorry for not RTFM ;-) I expected a more complicated config file with a dummy in the github repository. I am really happy with it, as it works not only for URLs, but for entire XML files too (I use these for configuring Strava Heatmap also in the app All-in-one Offlinemaps). |
@patrickziegler, Edit: I'm not sure what I did wrong. It worked when I tried again. I'm using it now for some time without problems. |
@Jochem-L the configurator However, as stated in the readme, the cloudfront tokens are expiring after around a week and you will need to manually re-create your TMS files accordingly after that time period. Feel free to open an issue here https://github.com/patrickziegler/strava-heatmap-proxy/issues if you discover a bug, it would be highly appreciated, but I guess @bertt will not be happy if we continue discussing these things in his thread 😄 |
Strava heatmaps after level 12 give now an error, for example:
How to add this authentication stuff? Did a quick test retrieving tile with added tokens but no luck yet.
The text was updated successfully, but these errors were encountered: