Script to create the XML file to use Strava heatmaps in Locus Map. The main challenge is that you need to refresh the cookie every week, as described here.
- enter your login details in strava_login.json
- run the script
strava.py
. It creates an xml file. - copy to file to your phone in Locus/mapsOnline/custom
- start locus, and it will find the new maps.
It uses a trick described here. Alternatively, you can
get the cookies from a browser. For that you need to go to https://www.strava.com/heatmap and login.
Next zoom in on the map to make sure the cookie gets stored. I can no longer get it to work in Chrome, but this
works in Firefox. After that, you can use the method get_cookies_from_browser
to create the cookie string.
See the commented out code.