OSM Smart Menu

OSM Smart Menu
Author: jgpacker
License: GPL v3 (free of charge)
Platforms: Windows, Windows XP, Linux, macOS, and Android
Languages: English, Brazilian Portuguese, and Chinese (Taiwan)
Source code: jgpacker/osm-smart-menu
Programming languages: HTML, CSS, and TypeScript

Helps OpenStreetMap contributors to easily switch between different maps and analysis tools from the community.

This browser extension[1] is officially available for Google Chrome[2] and Mozilla Firefox (for Desktop[3] and Android[4]).

It helps users to open links related to OpenStreetMap, based on parameters from the current page. Supported parameters include map parameters (zoom, latitude and longitude) and OpenStreetMap attributes (user name, node ID, changeset ID, etc). In a nutshell, this extension is a superior alternative to Bookmarklets.

New features are announced at the author's user diary.

Report bugs or request features

You can send a message to the author's OpenStreetMap account or open a new issue at Github.

Configuration

Besides the default list of links, users can add their own links!

The easy way is to simply go to the desired website (example), and click on the OSM extension button. If the website's URL pattern is recognized, an option will appear to add the current page's link to the list.

However,

  1. It only works for maps (i.e. with latitude, longitude and zoom parameters);
  2. It only works for a few known URL patterns.

In the configuration page, new links can be added with an URL Template. See some examples below:

  • Edit with JOSM or Merkaartor: https://www.openstreetmap.org/edit?editor=remote#map={zoom}/{latitude}/{longitude}
  • Compilation of several map links: https://geohack.toolforge.org/geohack.php?params={latitude}_N_{longitude}_E
  • Query OSM Elements: http://www.overpass-turbo.eu/?C={latitude};{longitude};{zoom}

At least one bracket parameter must be inside the URL Template. The URL Template supports the following parameters:

  • {zoom}
  • {latitude}
  • {longitude}
  • {osm_changeset_id}
  • {osm_user_name}
  • {osm_node_id}
  • {osm_way_id}
  • {osm_relation_id}
  • {osm_tag_key} and {osm_tag_value}

This is still an experimental feature.

More examples for advanced method using custom code

NameTemplateUsage
Preview iDhttps://preview.ideditor.com/release/#background=Bing&disable_features=boundaries&map={zoom}/{latitude}/{longitude}Editor
iD Netlifyhttps://ideditor.netlify.app/#background=Bing&disable_features=boundaries&map={zoom}/{latitude}/{longitude}Editor
Map with AIhttps://mapwith.ai/rapid#background=Maxar-Premium&datasets=fbRoads,msBuildings&disable_features=boundaries&map={zoom}/{latitude}/{longitude}Editor
WaymarkedTrailshttps://hiking.waymarkedtrails.org/#?map={zoom}!{latitude}!{longitude}Niche
Bikerouterhttps://bikerouter.de/#map={zoom}/{latitude}/{longitude}Router (biking and hiking)
Brouter Navigationhttp://brouter.de/brouter-web/#map={zoom}/{latitude}/{longitude}/standardRouter (biking and hiking)
Flopp's Maphttps://flopp.net/?c={latitude}:{longitude}&z={zoom}Map (OSM, Topo, Google Maps), waypoint tools
OpenRouteServicehttps://maps.openrouteservice.org/directions?n1={latitude}&n2={longitude}&n3={zoom}&b=0&k1=en-US&k2=kmRouter
Geohackhttps://geohack.toolforge.org/geohack.php?params={latitude}_N_{longitude}_EList of lists
Commons: Nearby imageshttps://wikimap.toolforge.org/?wp=false&basemap=2&cluster=false&zoom={zoom}&lat={latitude}&lon={longitude}Pictures
Google Street Viewhttps://www.google.com.tw/maps/?layer=c&cbll={latitude},{longitude}Street View ⚠© Not suitable as source
Opening hourshttps://openingh.ypid.de/?zoom={zoom}&lat={latitude}&lon={longitude}&layers=B0T&filter=none&tags=opening_hours
OSM Blitzermaphttp://frink.bplaced.de/blitzer/#map={zoom}/{latitude}/{longitude}QA
Map of turn restrictionshttps://ahorn.lima-city.de/tr/?zoom={zoom}&lat={latitude}&lon={longitude}&layer=Grayscale&overlays=TTTQA
OpenSkiMaphttps://openskimap.org/#{zoom}/{latitude}/{longitude}QA
OpenSnowMaphttps://www.opensnowmap.org/#map={zoom}/{longitude}/{latitude}&b=snowmap&m=false&h=falseQA
Maxspeed (OpenStreetBrowser)https://www.openstreetbrowser.org/#map={zoom}/{latitude}/{longitude}&categories=car_maxspeedQA
OSM Relation Analyzer (overview)http://ra.osmsurround.org/analyzeRelation?relationId={osm_relation_id}QA
OSM Relation Analyzer (map)http://ra.osmsurround.org/analyzeMap?relationId={osm_relation_id}QA
Destination Signshttp://osm.mueschelsoft.de/destinationsign/example/#way={osm_way_id}&namedroutes=0&fromarrow=0&include_sgn=0&include_way=1&country=DEQA
Destination Signshttp://osm.mueschelsoft.de/destinations/example/#wayid={osm_way_id}&direction=0&country=DEQA
Destination Signs Sandboxhttp://osm.mueschelsoft.de/destinations/example/sandbox.htm#country={osm_way_id}QA
OSM Lane Visualizerhttps://osm.mueschelsoft.de/lanes/render.pl?wayid={osm_way_id}&start=1&country=deQA
Maptiler VectorMaphttps://www.maptiler.com/maps/#streets//vector/{zoom}/{longitude}/{latitude}Map
Osmlab changeset maphttp://osmlab.github.io/changeset-map/#{osm_changeset_id}Changeset-viewer
Achavihttps://overpass-api.de/achavi/?changeset={osm_changeset_id}Changeset-viewer
OSMChahttps://osmcha.org/changesets/{osm_changeset_id}Changeset-viewer
CbCV (Neis)https://resultmaps.neis-one.org/osm-change-viz?c={osm_changeset_id}Changeset-viewer
Level0http://level0.osmz.ru/?url=changeset/{osm_changeset_id}Editor
OSM Wiki Keyhttps://wiki.openstreetmap.org/wiki/Key:{osm_tag_key}Environment
OSM Wiki Valuehttps://wiki.openstreetmap.org/wiki/Tag:{osm_tag_key}%3D{osm_tag_value}Environment
TagInfo Keyhttps://taginfo.openstreetmap.org/keys/{osm_tag_key}Environment
TagInfo Valuehttps://taginfo.openstreetmap.org/tags/{osm_tag_key}={osm_tag_value}Environment

See also

  • OpenSwitchMaps - browser extension
  • M-Reimer/osm-everywhere - browser extension OSM Everywhere
  • Bookmarklet - Bookmarklet are small pieces of JavaScript code which you store and run on-demand in your browser to conveniently access tools for your OSM work
  • Bookmarklets - List of OSM related bookmarklets

References

This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.