Automated edits/Local-Mapper

From OpenStreetMap Wiki
Jump to navigation Jump to search

Adding crossing:markings to Unmarked Crossings in the US

Motivation

When editing the map in iD, the Warnings section is filled with hundreds or thousands of lines for Unmarked Crossing has incomplete tags. This is annoying when editing but it also becomes difficult to find and correct other warnings.

Description

  1. Run this query on https://overpass-turbo.eu/ using an area that results in 1,000 or fewer nodes and ways.
    node[crossing=unmarked][!"crossing:markings"]({{bbox}});
    way(bn)[crossing=unmarked][!"crossing:markings"];
    out geom;
    node(w)[crossing=unmarked][!"crossing:markings"];
    out geom;
    
  2. Load data into JOSM using the remote control feature.
  3. Use the JOSM search feature to search for the same tags to ensure no other objects are inadvertently edited:
    "crossing"="unmarked" and "crossing:markings"=""
    
  4. Add the tag crossing:markings=no
  5. Run JOSM validation tool
  6. Upload data using these tags:
    comments=Adding crossing:markings=no to unmarked crossings
    description=https://wiki.openstreetmap.org/wiki/Automated_edits/Local-Mapper
    mechanical=yes
    
  7. Repeat until one US State is complete.
  8. Move to the next state.

Discussion

I posted this to the OpenStreetMap US Slack: https://osmus.slack.com/archives/C2VJAJCS0/p1694359497439089

As a result of the discussion, the query above was changed to find nodes and ways that are connected and have the same crossing=unmarked tag.

Date/Frequency

I plan to begin by running one changeset of less than 1000 objects per day for two weeks. If there is no negative feedback I will then run multiple changesets per day depending on my availability.