Wow again, this time a lot more efficient. With 29,000 ways, very fast Result. I did not believe it since only perfect duplicates of buildings were selected. This was done by a new contributor that did participate to a geoweek mapathon responding for the Volcano emergency in Bali. He did use JOSM and was probably not trained enough to look at Validations results from JOSM. At least, he should have spot these duplicates of nodes+ways. In less then two weeks this contributor edited almost 25,000 JOSM objects (ie, nodes, ways or relations). A good prospect but quite important to correct rapidly of new contributors working so intensely. see this zone https://www.openstreetmap.org/#map=17/-8.447237794027034/115.40394650097596 Looking at this Bali area, I saw many new contributors quite motivated and who added a lot of buildings. But it seems not enough monitoring from the organizers. This tool can surely help. An other interesting aspect with your scripts, you let us learn how to make such scripts. regard
Pierre Le mardi 28 novembre 2017 15:13:22 HNE, Mike Thompson <miketh...@gmail.com> a écrit : John, Pierre, I made some improvements to the select duplicate buildings script. It now uses a spatial index, which makes it a lot faster on large datasets. It also now uses the actual area of the buildings and their intersection, as opposed to their bounding boxes. I will work on your other requests, but may not have a lot of time for the next few weeks. Mike https://github.com/MikeTho16/JOSM-Scripts Select Duplicate Buildings Selects duplicate, or near duplicate, area buildings in JOSM's active datalayer.A "near duplicate" is a building whose area overlaps another building'sarea by more than 50%. Only the first building encountered of an overlapping pair is selected. This is done so the issue does not have to be looked at twice. The selected buildings are added to the current selection. Currently only works with buildings that are ways (not multipolygons). To Run:* Install JOSM's Scripting Plugin (only necessary once)* Place file in a convenient location on your system (only necessary once)* Click "Scripting" (on top menu bar)* Click "Run"* Click "..." button and select the script file.* Click "Run" _______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk
_______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk