[talk-ph] Fwd: [OSM-talk] finding overlapping buildings
govvin at gmail.com
Tue Nov 28 23:30:27 UTC 2017
This could be useful for the Project NOAH cleanup task.
How's that going, anyway? Maning?
---------- Forwarded message ---------
From: Mike Thompson <miketho16 at gmail.com>
Date: Wed, Nov 29, 2017, 04:13
Subject: Re: [OSM-talk] finding overlapping buildings
To: john whelan <jwhelan0112 at gmail.com>
Cc: OpenStreetMap talk mailing list <talk at openstreetmap.org>
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.
Select Duplicate Buildings
Selects duplicate, or near duplicate, area buildings in JOSM's active
A "near duplicate" is a building whose area overlaps another building's
area 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
Currently only works with buildings that are ways (not multipolygons).
* 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 at openstreetmap.org
e: erwin at ngnuity.xyz | v/m: https://t.me/GOwin | s: https://mstdn.io/@GOwin
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk-ph