public class OverlappingWays extends Test
Modifier and Type | Field and Description |
---|---|
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, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload
Constructor and Description |
---|
OverlappingWays()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
endTest()
Notification of the end of the test.
|
private 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, fixError, getErrors, getName, 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
public OverlappingWays()
public void startTest(ProgressMonitor monitor)
Test
private boolean parentMultipolygonConcernsArea(OsmPrimitive p)
public void endTest()
Test
If you override this method, don't forget to cleanup Test.progressMonitor
(most overrides call super.endTest()
to do this).