[OSM-talk] Way to delete buildings added by specific user, or help reverting?

stevea steveaOSM at softworkers.com
Mon Jul 8 19:22:39 UTC 2019

Hello Hrvoje:

You might try an Overpass Turbo query (using its QL) with a geographic restriction plus a specific user.

Try this:


and click the Run button (upper left).

This will return about 30 megabytes of data (LARGE!) so click the "Continue anyway" button.  Once complete, export the data (Export button), saving as "raw OSM" and then open that (export.osm in your Download folder) with JOSM.  You might further search for "building:yes" in JOSM or you might tweak the OT QL a bit.

The query will likely need tweaking (for example, you can use a bbox derived from "the zoomed extent of the map now" instead of the geocodeArea directive), but that should get you started.  OT QL isn't hard, but it can take a few stumbles of getting it wrong before you get the query which is finally right.  It's OK to experiment a bit.

It looks like it's a pretty large (ahem) mess to clean up; good luck.  Please be careful not to delete data which might actually be real (good data).  For example, you might add a satellite imagery layer to your JOSM session, so you can see what's "really" there (compared to OSM data).

<remainder deleted for brevity>

More information about the talk mailing list