JOSM Strava Heatmap

A browser extension that simplifies getting the TMS imagery url for using the Strava Heatmap in JOSM

JOSM Strava Heatmapとは何ですか?

JOSM Strava Heatmapはezekielfによって開発されたChromeの拡張機能で、その主な機能は「A browser extension that simplifies getting the TMS imagery url for using the Strava Heatmap in JOSM」です。

拡張機能のスクリーンショット

screenshot

JOSM Strava Heatmap拡張機能のCRXファイルをダウンロード

JOSM Strava Heatmap拡張子のファイルをcrx形式でダウンロードし、ブラウザにChrome拡張機能を手動でインストールするか、crxファイルを友達と共有して簡単にChrome拡張機能をインストールします。

拡張機能の使用方法

                        This browser extension makes it easy to use the Strava Global Heatmap in JOSM, iD, and other mapping applications that support TMS imagery.

Accessing this imagery externally requires a set of key parameters that you obtain by signing into the Strava website, copying the values from several cookies, and then assembling into a query string at the end of the url.  The keys expire after a week or so at which point you must repeat the process.  This extension builds the url for you which makes this weekly process a bit less annoying. 

Instructions
-------------------
1. Visit strava.com/heatmap and log in – sign up for a free account if you don't have one
2. Optional - Select the heatmap color and activity type you want to use
3. Click the button pictured below to get the TMS imagery url prepopulated with the required
   `Key-Pair-Id`, `Policy`, and `Signature` parameters
4. Open the heatmap in your editor
      - Click the appropriate button to open the heatmap in either JOSM or iD. For JOSM, Remote control must be enabled
      - Alternatively you can copy the url (with or without the tms: prefix) and paste it into a custom imagery layer in you editor



Manually adding the imagery in JOSM
-------------------------------------------
Copy the url without the tms: prefix. Add a new TMS layer in the JOSM imagery preferences. Name it Strava Heatmap and paste in the copied url. If you are updating an expired Strava Heatmap layer you can just double-click it to replace url in the list view. In this case, copy the url with the tms: prefix as it is required here.

Manually adding the imagery in iD
------------------------------------
Copy the url without the tms: prefix. Open the Backgrounds panel and select "Custom" at the bottom. Paste the copied url into the Custom Background Settings window that opens.                    

拡張機能の基本情報

名前 JOSM Strava Heatmap JOSM Strava Heatmap
ID hicmfobjcbinceoeegookkgllpdgkcdc
公式URL https://chromewebstore.google.com/detail/josm-strava-heatmap/hicmfobjcbinceoeegookkgllpdgkcdc
説明 A browser extension that simplifies getting the TMS imagery url for using the Strava Heatmap in JOSM
ファイルサイズ 160 KB
インストール数 2,010
現在のバージョン 5
最終更新日 2024-01-25
公開日 2021-04-23
評価 5.00/5 合計 5 レビュー
開発者 ezekielf
Eメール [email protected]
支払い方法 free
拡張機能のウェブサイト https://github.com/zekefarwell/josm-strava-heatmap
ヘルプページのURL https://github.com/zekefarwell/josm-strava-heatmap
対応言語 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "JOSM Strava Heatmap",
    "description": "A browser extension that simplifies getting the TMS imagery url for using the Strava Heatmap in JOSM",
    "version": "5",
    "icons": {
        "48": "icons\/icon.png"
    },
    "permissions": [
        "cookies",
        "*:\/\/*.strava.com\/*",
        "clipboardWrite"
    ],
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*.strava.com\/heatmap*",
                "*:\/\/*.strava.com\/maps*"
            ],
            "js": [
                "browser-polyfill.min.js",
                "content.js"
            ],
            "css": [
                "content.css"
            ]
        }
    ],
    "background": {
        "scripts": [
            "browser-polyfill.min.js",
            "background.js"
        ]
    },
    "homepage_url": "https:\/\/github.com\/zekefarwell\/josm-strava-heatmap"
}