public final class SelectDuplicateBuildingAction
extends org.openstreetmap.josm.actions.JosmAction
Selects duplicate, or near duplicate, area buildings in JOSM's active datalayer. 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 selection. Currently only works with buildings that are ways (not multipolygons, nor multipart buildings).
This script is open source and licensed under GPL.
Constructor and Description |
---|
SelectDuplicateBuildingAction()
Constructs a new
SelectDuplicateBuildingAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
buildActiveLayerChangeAdapter, buildLayerChangeAdapter, checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setHelpId, setToolbarId, setTooltip, updateEnabledState, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuture