在接下来的 15 分钟内完成你的第一次 OpenStreetMap 编辑
Make your first edit to OpenStreetMap

原始链接: https://high5apps.github.io/josm-plugin-website-wizard/

您可以在 15 分钟内通过为当地商店和设施添加缺失的网站标签,为 OpenStreetMap (OSM) 做出有意义的贡献。这些标签有助于丰富地图数据,使查找联系方式和运营信息变得更加容易。 **入门指南:** 1. **准备:** 创建一个 OSM 账户并安装 [JOSM 编辑器](https://josm.openstreetmap.de/)。 2. **设置:** 下载一个小而熟悉的区域(几个街区)的 OSM 数据。使用 JOSM 的“过滤器”(Filter) 面板,仅显示缺少网站标签的商店或设施(使用提供的查询字符串)。 3. **增强:** 安装 **WebsiteWizard** 插件(通过“首选项”>“插件”)。选择一个地点,使用该插件搜索其官方网站,并将网址粘贴到编辑器中。 4. **完成:** 使用“上传”对话框提交您的更改,提供简短的说明,并注明数据来源为“survey”(实地调查)。 这一过程将本地知识转化为全球数据。掌握之后,您可以添加电话号码或营业时间等其他缺失细节,从而扩大您的贡献,帮助 OSM 成为对每个人都更准确、更有用的资源。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 在未来 15 分钟内完成你的第一次 OpenStreetMap 编辑 (high5apps.github.io) 16 点,由 juliantigler 发布于 34 分钟前 | 隐藏 | 过往 | 收藏 | 讨论 | 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Intro

This quick tutorial will help you make a meaningful contribution to OpenStreetMap (OSM) in less than 15 minutes. By the end, you will have added an official website tag to a nearby shop or amenity. Soon after, your contribution will be ingested into dozens of free OSM-based services, helping people worldwide.

Why a website tag? Once a place in OSM has a website tag, it becomes way easier to determine other helpful info about that place. Nearly every place’s official website has info about its phone, opening_hours, email, and other tags. So adding a website tag is a great place to get started.

Got your stopwatch out? Ready, set, go!

1. Create an OSM account

Sign up for a free OSM account and then confirm your email.

2. Download and Run JOSM

Download JOSM (~365 MB) for your specific operating system and then run it.

JOSM, the Java OSM editor app, is a powerful tool for querying and editing OSM data. While simpler in-browser editors exist, JOSM offers plugins that make your edit as quick and easy as possible.

3. Download OSM Data

JOSM's Download panel with an area of interest selected

  1. Press Ctrl+Shift+↓ (or ⌘+Shift+↓ on Mac) to open the Download dialog
  2. Determine your area of interest (AOI). It should be somewhere you’re familiar with, no larger than a few city blocks.
  3. Locate your AOI on the map. You can pan the map with ctrl+click dragging and zoom in by scrolling.
  4. Click and drag to create a box around your AOI
  5. Click ⬇️ Download. If this fails, your AOI was probably too large. Choose a smaller AOI and try again.

4. Filter Irrelevant OSM Data

Unfiltered OpenStreetMap data for an area of interest

Filtered OpenStreetMap data for an area of interest

Now we’ll filter the OSM data to only show shops and amenities that don’t have a website.

  1. Find the Filter panel on the right side of the screen
  2. Click the + icon to open the Filter dialog
  3. Copy/paste the following query into the Search string text field
     name=* ((amenity=* "addr:housenumber"=*) | shop=*) -website=* -"contact:website"=*
    
  4. Click Submit filter
  5. Check E, uncheck H, and check I in the Filter panel. You should now only see the relevant places in your AOI.

5. Set Up the Website Wizard Plugin

The Plugins panel in JOSM's Preferences panel

  1. Press F12 (or ⌘+, on Mac) to open JOSM’s Preferences dialog
  2. Click the 🧩 puzzle piece icon on the left side to open the Plugins config
  3. Click ⬇️ Download list
  4. Scroll down the list of plugins until you see 🌐 WebsiteWizard
  5. Check its checkbox
  6. Click OK to install it

6. Search for an Official Website

Website Wizard demo search in the JOSM editor

  1. Click the 🌐 icon on the left side of the screen to show the 🌐 Website Wizard panel on the right side of the screen
  2. Type your AOI’s city and/or neighborhood into Website Wizard’s Search Prefix text field
  3. Click a shop or amenity in your AOI
  4. Click Search to open DuckDuckGo in your default browser with the query autofilled as the Search Prefix + the place’s name
  5. Determine if any of the search results represent the official website for your place. Do NOT use search results for social media profiles, review sites, or other business aggregators. When in doubt, don’t use it. If you don’t find one, just repeat steps 3 to 5 with another place in your AOI.
  6. Copy/paste the official website URL into the Website URL text field
  7. Click Save. If you make a mistake, you can always press ctrl+z (⌘+z on Mac) to undo it.

7. Upload Your Changeset

JOSM's Upload panel with our changeset's info

  1. Press Ctrl+Shift+↑ (or ⌘+Shift+↑ on Mac) to open the Upload dialog
  2. Type Add website to <city and/or neighborhood> shops and amenities in the text field labeled Provide a brief comment…
  3. Select survey in the dropdown labeled Specify the data source…
  4. Click Upload Changes, which will open OSM in your browser
  5. Enter your OSM credentials
  6. Click Log In
  7. Click Authorize to allow JOSM to create the changeset for you

Conclusion

🎉🎊🥳 Congratulations- you just made OSM a little bit better for everyone! Plus you got a preview of some of the cool things you can do with JOSM and OSM data.

So what next?

You could keep going and add a website tag to every place in your AOI. For example, I quickly added 66 new website tags in Seattle’s Wallingford neighborhood in this changeset.

Or you could modify the filter to show places in your AOI with a website tag but no phone tag. Then you could add the phone tag based on info from the website.

Or you could spread the word about OSM and Website Wizard! The United States alone has more than 1 million shops. So if we want to put them all on the map, we’ll need to get many more people to help.

No matter what’s next, feel proud for pushing OSM a little closer toward becoming the world’s greatest map!

联系我们 contact @ memedata.com