My gut feel is as simple as possible especially when dealing with larger areas.
I loaded a 215 kb file into JOSM and found 181 duplicated buildings but after dumping them in a todo list JOSM seemed reluctant to delete them one at a time. Could it work through a selected area? There is already a crossing way validation so selecting buildings only then validating for crossing buildings then running the script on what was left might be faster. I wouldn't like to say I specialize on validating maperthons so much as do clean ups in ares where they have left their foot print. Thanks John On 24 November 2017 at 20:12, Mike Thompson <miketh...@gmail.com> wrote: > I have a fix for the speed issue, but need to test before posting. There > is also bug with how the overlap is computed. Do you want both tests in > the same script? I could include "building ways with unclosed area", > anything else? > > On Fri, Nov 24, 2017 at 4:14 PM, Pierre Béland <pierz...@yahoo.fr> wrote: > >> Ok >> >> for the script, I simply commented the console print message and it does >> work. >> >> Great if developpers could collaborate to improve this as a Building >> Validation plugin. It could include other features such as building ways >> with unclosed area >> >> >> Pierre >> >> >> Le vendredi 24 novembre 2017 18:03:48 HNE, Mike Thompson < >> miketh...@gmail.com> a écrit : >> >> >> On Fri, Nov 24, 2017 at 3:43 PM, john whelan <jwhelan0...@gmail.com> >> wrote: >> >> > For a small number it works well. When faced with a sample with a >> thousand buildings it takes a little longer. >> I will work on speeding it up. It this proves useful to the community, I >> may try and make it into a plugin (to also include the >> SelectNonOrthogonalBuildings function), which should be faster. Advice >> from experienced JOSM developers welcome on this matter. >> >> >> > So thank you kindly sir. >> You are welcome. Glad to be able to help out. >> > >
_______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk