https://josm.openstreetmap.de/ticket/24237#comment:5
Instructions for getting Strava to work in JOSM
https://josm.openstreetmap.de/ticket/24237#comment:5
Instructions for getting Strava to work in JOSM
You’re right — the new session cookies automatically expire when the browser is closed.
I’ve updated the iD extension to reuse older cookies in an attempt to keep you logged in across sessions, though I’m still not sure how long these reused cookies remain valid.
If you’d like to try it out, please see: 🚀 Help Test v0.9.4 (Chrome & Firefox) · Issue #12 · cmoffroad/id-strava-heatmap-extension · GitHub
thank you for feeback, i gotta have to check the test version
meantime i notice that heatmap tiles i have used for area from day before, still works the day after but nothing beyond that loads.
And i gotta thank you for developing this in the firstplace and strava for allowing their heatmap as wms. we probably all agree how valuable it is ![]()
Here’s the url for the abovementioned freemap.sk proxy:
tms[15]:https://strava-heatmap.tiles.freemap.sk/all/hot/{zoom}/{x}/{y}.png?px=512
This is much easier to use than the method described in the JOSM ticket, no strava login or cookies required.
Hello, how i get strava heatmap to brouter.de? Now is not works for me… ![]()
Try this: Strava heatmap layers · Issue #11 · gpxstudio/gpx.studio · GitHub.
but in manifest.json file you need to add brouter to “host_permissions” and “matches”:
"host_permissions": [
"*://*.strava.com/*",
"*://gpx.studio/*",
"*://bikerouter.de/*",
"*://brouter.de/*"
],
...
"matches": [
"https://gpx.studio/app*",
"https://bikerouter.de/*",
"https://brouter.de/*"
],
I’d much rather support this properly than have users hacking around my code. ![]()
People have asked me to support platforms like gpx.studio, rapidId, and others. Some sites allow custom layers to be added easily — in those cases, it’s often as simple as whitelisting the domain. Others don’t support this natively, which means I’d need to inject configurable layers programmatically — and that takes quite a bit more effort (iD, RapidID)
I’ve been thinking about expanding support to multiple sites, as mentioned here:
https://github.com/cmoffroad/id-strava-heatmap-extension/issues/9
One clear benefit of unified support is consistency: users who work across multiple fully supported platforms (e.g. iD and gpx.studio) would get the same Strava layers. Sites partially supported would still benefit from the extension logic.
The real question is: how do I achieve this with minimal effort and support overhead? A few options I’m considering:
The heatmap extension for iD works fine, but is there a similar simple solution for JOSM yet (that doesn’t require messing around with proxies, preference.xml and whatnot)?
But the version with the current fix has not been released yet, so the installation of the extension is still user-unfriendly:
https://github.com/zekefarwell/josm-strava-heatmap/issues/19#issuecomment-3036945502
Hi julcnx, like many I used to overlay Strava using the TMS trick in JOSM (that does not work anymore) so wish I could say Chrome Strava heatmap extension for ID worked for me but it does not. Must be doing something wrong but can’t figure out what. When in OSM ID in edit mode, I see the different Strava layers options from the menu but never get the heat overlays when clicked. So I click on the Chrome puzzle extension showing red (I tried it before or after logging to OSM), Strava opens (in a new Chrome page), I log in, navigate to the Heatmap… and then… nothing happens. All cookies are accepted both on Strava and OSM but the puzzle extension always stays red (never switch to green as advertised). What am I missing? Is there a youtube video we could watch to see all steps? Tx a million in advance.
Alex
In FireFox, I click on the extension button which opens Strava, click on the Maps button there, then the iD link. When that opens, I close that window, return to my iD page, & can then click on teh various Strava options which then work.
Don’t know if it works the same in Chrome?
OK it works! Had to do with the extension settings which do not give access by default to OSM and Strava. In case there are other Dummies around looking for a step-by-step recipe to make the ID Strava layer work in Chrome, here it is:
Voilà
Update: “Id Strava Heatmap” is now simply “Strava Heatmap”. It works seamlessly with GPX.studio and welcomes bug reports or suggestions for improvements. Additional site integrations can be added based on demand.
A big thank you to our community—over 1,000 Chrome users and 200 Firefox users—for your support and feedback!
It is now disabled in my Firefox, and it still reads “Id Strava Heatmap”. Do I need to remove it and re-add it?
Edit: I only needed to update it manually, since I turned automatic updates off.
Updates should install automatically, as the extension’s ID hasn’t changed. If the update doesn’t happen after you re-enable it, you can try removing the extension and adding it again.