Skip to content

Instantly share code, notes, and snippets.

@talllguy
Last active February 8, 2021 15:00
Show Gist options
  • Save talllguy/f59ce436f137b6fc5472fec2480d3877 to your computer and use it in GitHub Desktop.
Save talllguy/f59ce436f137b6fc5472fec2480d3877 to your computer and use it in GitHub Desktop.
Strava Heatmap as a JOSM layer

Format

tms[3,15]:https://heatmap-external-{switch:a,b,c}.strava.com/tiles-auth/both/hot/{zoom}/{x}/{y}.png?Key-Pair-Id=XX&Policy=YY&Signature=ZZ

Instructions

  1. Go to the Strava Heatmap and make sure to login
  2. Open the DevTools for the browser (F12 in Chrome/Edge)
  3. Go to the Application tab ➡ Cookies ➡ www.strava.com
  4. Substitute the Key-Pair-Id, Policy, and Signature with values from cookie that Strava stores with the variables in the URL above
Strava Cookie OSM URL Variable above
CloudFront-Key-Pair-Id Key-Pair-Id XX
CloudFront-Policy Policy YY
CloudFront-Signature Signature ZZ
  1. Paste the resulting TMS URL as a TMS layer in the JOSM Imagery Preferences

Background

See this help.openstreetmap.org question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment