public class OverlappingWays extends Test
Test.TagTest| Modifier and Type | Field and Description |
|---|---|
protected static int |
DUPLICATE_WAY_SEGMENT |
protected static java.util.function.Predicate<OsmPrimitive> |
IGNORED |
protected static ListProperty |
IGNORED_KEYS |
private MultiMap<Pair<Node,Node>,WaySegment> |
nodePairs
Bag of all way segments
|
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, IN_DOWNLOADED_AREA_STRICT, isBeforeUpload, name, partialSelection, progressMonitor, stopwatch, 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, clear, deletePrimitivesIfNeeded, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, isResidentialArea, ok, setBeforeUpload, setPartialSelection, setShowElements, testBeforeUpload, visit, visit, visitprotected 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 DUPLICATE_WAY_SEGMENT
protected static final ListProperty IGNORED_KEYS
protected static final java.util.function.Predicate<OsmPrimitive> IGNORED
public OverlappingWays()
public void startTest(ProgressMonitor monitor)
Testprivate 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)
public void visit(Way w)
OsmPrimitiveVisitorvisit in interface OsmPrimitiveVisitorvisit in class Testw - The way to inspect.