首页 > AI前沿 > Make Your First Edit to OpenStreetMap in the Next 15 Minutes

Make Your First Edit to OpenStreetMap in the Next 15 Minutes

Hacker News 2026-09-13 00:25 4 阅读 查看原文
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 Press Ctrl+Shift+↓ (or ⌘+Shift+↓ on Mac) to open the Download dialog Determine your area of interest (AOI). It should be somewhere you’re familiar with, no larger than a few city blocks. Locate your AOI on the map. You can pan the map with ctrl+click dragging and zoom in by scrolling. Click and drag to create a box around your AOI Click ⬇️ Download. If this fails, your AOI was probably too large. Choose a smaller AOI and try again. 4. Filter Irrelevant OSM Data Now we’ll filter the OSM data to only show shops and amenities that don’t have a website. Find the Filter panel on the right side of the screen Click the + icon to open the Filter dialog Copy/paste the following query into the Search string text field name=* ((amenity=* "addr:housenumber"=*) | shop=*) -website=* -"contact:website"=* name=* ((amenity=* "addr:housenumber"=*) | shop=*) -website=* -"contact:website"=* Click Submit filter 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 Press F12 (or ⌘+, on Mac) to open JOSM’s Preferences dialog Click the 🧩 puzzle piece icon on the left side to open the Plugins config Click ⬇️ Download list Scroll down the list of plugins until you see 🌐 WebsiteWizard Check its checkbox Click OK to install it 6. Search for an Official Website Click the 🌐 icon on the left side of the screen to show the 🌐 Website Wizard panel on the right side of the screen Type your AOI’s city and/or neighborhood into Website Wizard’s Search Prefix text field Click a shop or amenity in your AOI Click Search to open DuckDuckGo in your default browser with the query autofilled as the Search Prefix + the place’s name 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. Copy/paste the official website URL into the Website URL text field Click Save. If you make a mistake, you can always press ctrl+z (⌘+z on Mac) to undo it. 7. Upload Your Changeset Press Ctrl+Shift+↑ (or ⌘+Shift+↑ on Mac) to open the Upload dialog Type Add website to shops and amenities in the text field labeled Provide a brief comment… Select survey in the dropdown labeled Specify the data source… Click Upload Changes, which will open OSM in your browser Enter your OSM credentials Click Log In 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!