Zh-hans:OSM Smart Menu

From OpenStreetMap Wiki
Jump to navigation Jump to search
View on OSM Apps Catalog  
OSM Smart Menu
v · d 
作者: jgpacker(原作者),Erick de Oliveira Leal(自 2026 年起的维护者)
执照: GNU GPL v3 (免费)
平台: Windows、​​ Linux、​​ macOS和​ Android
状态: 活跃
语言:
英语、​​加泰罗尼亚语、​​捷克语、​​德语、​​世界语、​​西班牙语、​​爱沙尼亚语、​​芬兰语、​​法语、​​加利西亚语、​​希伯来语、​​匈牙利语、​​意大利语、​​书面挪威语、​​荷兰语、​​波兰语、​​葡萄牙语、​​巴西葡萄牙语、​​俄语、​​瑞典语、​​泰米尔语、​​乌克兰语、​​中文(简体)和​繁体中文
网站: https://github.com/erickdeoliveiraleal/osm-smart-menu
源代码: erickdeoliveiraleal/osm-smart-menu GitHub
编程语言: HTML、​​CSS、​​TypeScript和​Svelte

在当前查看的地点,在其他地图、卫星影像、街景照片以及 OpenStreetMap 编辑器和工具中打开。

Features
Feature Value
Map Display
?
Routing
?
Navigating
?
Tracking
?
Monitoring
?
Editing
?
Rendering
?
Accessibility
?


此浏览器扩展[1]适用于 Google Chrome 及其他基于 Chromium 的浏览器[2]以及 Mozilla Firefox(桌面版[3]和 Android 版[4])。

它会在相同的位置和缩放级别,在其他地图和工具中打开你当前正在查看的地点。它会从当前页面——包括带有坐标的 Google Maps 和 Wikipedia 文章——读取地图位置(缩放级别、纬度和经度)以及 OpenStreetMap 属性(用户名、节点、路径、关系和变更集 ID、标签),并列出可以打开它们的编辑器(iD、Rapid、JOSM)、专题地图、卫星影像、街景照片、历史记录和数据质量工具。工具按类别分组且可搜索。简而言之,此扩展是 书签小工具 的高级替代品。

自 2026 年起,该扩展由 Erick de Oliveira Leal 维护,并得到了原作者的支持,原作者移交了 Firefox 商店列表和翻译项目。它已迁移到 Manifest V3,因此可以在当前的 Chrome 上再次运行。更改列在 发布说明 中。

翻译在 Weblate 上进行。

报告错误或请求功能

在 GitHub 上 提交新 issue。

配置

除了默认的链接列表,用户还可以添加自己的链接!

添加新链接的简单方法

简单的方法是直接前往目标网站(示例),然后点击 OSM 扩展按钮。如果识别出该网站的 URL 模式,就会出现一个选项,将当前页面的链接添加到列表中。

但是,

  1. 它仅适用于地图(即具有纬度、经度和缩放参数的网站);
  2. 它仅适用于少数已知的 URL 模式。

添加新链接的高级方法

在配置页面中,可以使用 URL 模板 添加新链接。请参见以下一些示例:

  • JOSM 现在在默认列表中(它直接使用 JOSM 的远程控制)。对于 Merkaartor 或在你的 openstreetmap.org 首选项中配置的其他编辑器:https://www.openstreetmap.org/edit?editor=remote#map={zoom}/{latitude}/{longitude}
  • 若干地图链接的合集:https://geohack.toolforge.org/geohack.php?params={latitude}_N_{longitude}_E
  • 查询 OSM 要素:http://www.overpass-turbo.eu/?C={latitude};{longitude};{zoom}

URL 模板内必须至少包含一个括号参数。URL 模板支持以下参数:

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

这仍是一个实验性功能。

使用自定义代码的高级方法更多示例

名称 模板 用途
Apple Maps https://beta.maps.apple.com/?ll={latitude}%2C{longitude}&spn=0.02724242880691463%2C0.07252723824063878 地图、街景 ⚠© 不适合作为来源
iD released https://ideditor-release.netlify.app/#background=Bing&disable_features=boundaries&map={zoom}/{latitude}/{longitude} 编辑器
iD development https://ideditor.netlify.app/#background=Bing&disable_features=boundaries&map={zoom}/{latitude}/{longitude} 编辑器
Rapid https://rapideditor.org/rapid#map={zoom}/{latitude}/{longitude} 编辑器
WaymarkedTrails https://hiking.waymarkedtrails.org/#?map={zoom}!{latitude}!{longitude} 特定用途
Bikerouter https://bikerouter.de/#map={zoom}/{latitude}/{longitude} 路线规划(骑行和徒步)
Brouter Navigation http://brouter.de/brouter-web/#map={zoom}/{latitude}/{longitude}/standard 路线规划(骑行和徒步)
Flopp's Map https://flopp.net/?c={latitude}:{longitude}&z={zoom} 地图(OSM、地形图、Google Maps),航点工具
OpenRouteService https://maps.openrouteservice.org/directions?n1={latitude}&n2={longitude}&n3={zoom}&b=0&k1=en-US&k2=km 路线规划
Geohack https://geohack.toolforge.org/geohack.php?params={latitude}_N_{longitude}_E 列表的列表
Commons: Nearby images https://wikimap.toolforge.org/?wp=false&basemap=2&cluster=false&zoom={zoom}&lat={latitude}&lon={longitude} 图片
Panoramax https://panoramax.openstreetmap.fr/?background=streets&focus=map&map={zoom}/{latitude}/{longitude} 联邦实地照片数据库
Google Street View https://www.google.com/maps/?layer=c&cbll={latitude},{longitude} 街景 ⚠© 不适合作为来源
Opening hours https://openingh.ypid.de/?zoom={zoom}&lat={latitude}&lon={longitude}&layers=B0T&filter=none&tags=opening_hours
OSM Blitzermap http://frink.bplaced.de/blitzer/#map={zoom}/{latitude}/{longitude} 质量保证
Map of turn restrictions https://ahorn.lima-city.de/tr/?zoom={zoom}&lat={latitude}&lon={longitude}&layer=Grayscale&overlays=TTT 质量保证
OpenSkiMap https://openskimap.org/#{zoom}/{latitude}/{longitude} 质量保证
OpenSnowMap https://www.opensnowmap.org/#map={zoom}/{longitude}/{latitude}&b=snowmap&m=false&h=false 质量保证
Maxspeed (OpenStreetBrowser) https://www.openstreetbrowser.org/#map={zoom}/{latitude}/{longitude}&categories=car_maxspeed 质量保证
OSM Relation Analyzer (overview) http://ra.osmsurround.org/analyzeRelation?relationId={osm_relation_id} 质量保证
OSM Relation Analyzer (map) http://ra.osmsurround.org/analyzeMap?relationId={osm_relation_id} 质量保证
Destination Signs http://osm.mueschelsoft.de/destinationsign/example/#way={osm_way_id}&namedroutes=0&fromarrow=0&include_sgn=0&include_way=1&country=DE 质量保证
Destination Signs http://osm.mueschelsoft.de/destinations/example/#wayid={osm_way_id}&direction=0&country=DE 质量保证
Destination Signs Sandbox http://osm.mueschelsoft.de/destinations/example/sandbox.htm#country={osm_way_id} 质量保证
OSM Lane Visualizer https://osm.mueschelsoft.de/lanes/render.pl?wayid={osm_way_id}&start=1&country=de 质量保证
Maptiler VectorMap https://www.maptiler.com/maps/#streets//vector/{zoom}/{longitude}/{latitude} 地图
Osmlab changeset map http://osmlab.github.io/changeset-map/#{osm_changeset_id} 变更集查看器
Achavi https://overpass-api.de/achavi/?changeset={osm_changeset_id} 变更集查看器
OSMCha https://osmcha.org/changesets/{osm_changeset_id} 变更集查看器
CbCV (Neis) https://resultmaps.neis-one.org/osm-change-viz?c={osm_changeset_id} 变更集查看器
Level0 http://level0.osmz.ru/?url=changeset/{osm_changeset_id} 编辑器
OSM Wiki Key https://wiki.openstreetmap.org/wiki/Key:{osm_tag_key} 环境
OSM Wiki Value https://wiki.openstreetmap.org/wiki/Tag:{osm_tag_key}%3D{osm_tag_value} 环境
TagInfo Key https://taginfo.openstreetmap.org/keys/{osm_tag_key} 环境
TagInfo Value https://taginfo.openstreetmap.org/tags/{osm_tag_key}={osm_tag_value} 环境
Osmose (fix) https://osmose.openstreetmap.fr/fr/map/#loc={zoom}/{latitude}/{longitude} 质量保证
Lanes Map https://osm-tiles.james-ross.co.uk/?map={zoom}/{latitude}/{longitude}&layer=standard&layer=overlay&layer=roads 质量保证
OSM Latest Changes rene78 https://rene78.github.io/latest-changes/#{zoom}/{latitude}/{longitude} 质量保证
Parking lanes Map https://zlant.github.io/parking-lanes/#{zoom}/{latitude}/{longitude} 质量保证
Bus lanes Map https://zlant.github.io/bus-lanes/#{zoom}/{latitude}/{longitude} 质量保证
OSM-Streetlight http://osmstreetlight.bplaced.net/#{zoom}/{latitude}/{longitude} 质量保证
OSM 411 https://osm411.org/#map={zoom}/{latitude}/{longitude}

另见

因浏览器技术进步而过时

  • 书签小工具 - 书签小工具是存储在浏览器中并按需运行的小段 JavaScript 代码,可方便地访问用于 OSM 工作的工具
  • 书签小工具列表 - 与 OSM 相关的书签小工具列表

外部链接

参考资料