smap – Swiss Topo Map URL Generator

Usage:

smap [-b] <image-file-path>

Reads file from <image-file-path>
and extracts GPS coordinates.
Returns either URL string to open a Swiss Topo Map
or opens the URL in the current browser.

Flag -b indicates open in current browser.
Default is printing URL.

URL can be used to pipe and is “” enclosed.
Example: “https://map.geo.admin.ch/?swisssearch=46.623938333333335,8.469063333333333

GitHub

View Github