public class OverlappingWays extends Test
Test.TagTest
Modifier and Type | Field and Description |
---|---|
protected static int |
DUPLICATE_WAY_SEGMENT |
protected static CollectionProperty |
IGNORED_KEYS |
private MultiMap<Pair<Node,Node>,WaySegment> |
nodePairs
Bag of all way segments
|
protected static int |
OVERLAPPING_AREA |
protected static int |
OVERLAPPING_HIGHWAY |
protected static int |
OVERLAPPING_HIGHWAY_AREA |
protected static int |
OVERLAPPING_RAILWAY |
protected static int |
OVERLAPPING_RAILWAY_AREA |
protected static int |
OVERLAPPING_WAY |
protected static int |
OVERLAPPING_WAY_AREA |
checkBeforeUpload, checkEnabled, description, enabled, errors, IN_DOWNLOADED_AREA, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload
Constructor and Description |
---|
OverlappingWays()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Set<WaySegment> |
checkDuplicateWaySegment(Way w) |
void |
endTest()
Notification of the end of the test.
|
private static boolean |
parentMultipolygonConcernsArea(OsmPrimitive p) |
void |
startTest(ProgressMonitor monitor)
Start the test using a given progress monitor
|
void |
visit(Way w)
Visiting call for lines.
|
addGui, deletePrimitivesIfNeeded, equals, fixError, getErrors, getName, hashCode, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, ok, setBeforeUpload, setPartialSelection, testBeforeUpload, visit, visit, visit
visit
protected static final int OVERLAPPING_HIGHWAY
protected static final int OVERLAPPING_RAILWAY
protected static final int OVERLAPPING_WAY
protected static final int OVERLAPPING_HIGHWAY_AREA
protected static final int OVERLAPPING_RAILWAY_AREA
protected static final int OVERLAPPING_WAY_AREA
protected static final int OVERLAPPING_AREA
protected static final int DUPLICATE_WAY_SEGMENT
protected static final CollectionProperty IGNORED_KEYS
public OverlappingWays()
public void startTest(ProgressMonitor monitor)
Test
private static boolean parentMultipolygonConcernsArea(OsmPrimitive p)
public void endTest()
Test
If you override this method, don't forget to cleanup progressMonitor
(most overrides call super.endTest()
to do this).
protected static java.util.Set<WaySegment> checkDuplicateWaySegment(Way w)