Hi, I am struggling with attempting to find all brand new elements created by a single user. I have currently the following but how do I check for version=1 (or similar) please so I only get where they have created a brand new element please? Happy with any other alternatives. What I would like to validate new work by a particular user where they have created a road or similar. I am not interested in their modifications to existing content. Thanks
asked 05 May '18, 10:34 Ewen Hill edited 06 May '18, 02:28 |
One Answer:
Depending on the size of the area the user has edited in, I'll recommend just loading it in JOSM, then run the search (Ctrl-F) user:spjaquish version:1 answered 05 May '18, 18:52 Hjart edited 05 May '18, 18:53 showing 5 of 7 show 2 more comments |
Thanks, this is excellent but the area is huge so an Overpass method would still be wonderful
Ok. Overpass queries can be run from within JOSM. In the Download window, select the "download from Overpass" tab, click the wizard button and enter 'user:spjaquish', then on the map select the bbox to search within, then press download. When data is downloaded, do Ctrl-F 'version:1'
See https://josm.openstreetmap.de/wiki/Help/Action/Download
Just for completeness, here's an example of restricting a query to version=1 objects: http://overpass-turbo.eu/s/yyr .
Not sure how the performance would be.
Thank you @maxerickson and @Hjart as both of you have been a wealth of knowledge. The Overpass example did the trick but I was also unaware of the JOSM options. Performance is dire as we are looking at 4000km by 3000km area however I expected this.
I almost always prefer the JOSM option, because it allows closer inspection without having to go through further hoops. https://wiki.openstreetmap.org/wiki/JOSM/Plugins/TODO_list also often comes in extremely handy.
Also note that simpler Overpass queries of course always perform better.
@maxerickson, Wonderful answer. But is there any way to accomplish the same thing using only the Overpass Turbo Wizard? I don't want to have to learn the complex syntax of the standard Query Language.
I guess not. Wizard features should be documented on https://wiki.openstreetmap.org/wiki/Overpass_turbo/Wizard fairly soon after they exist. It seems it could support something like version:1, but it does not right now.