|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.osm.visitor.AbstractVisitor
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.OverlappingWays
public class OverlappingWays
Tests if there are overlapping ways
Field Summary | |
---|---|
(package 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
|
Fields inherited from class org.openstreetmap.josm.data.validation.Test |
---|
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, testBeforeUpload |
Constructor Summary | |
---|---|
OverlappingWays()
Constructor |
Method Summary | |
---|---|
void |
endTest()
Notification of the end of the test. |
void |
startTest(ProgressMonitor monitor)
Start the test using a given progress monitor |
void |
visit(Way w)
Visiting call for lines. |
Methods inherited from class org.openstreetmap.josm.data.validation.Test |
---|
addGui, deletePrimitivesIfNeeded, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, ok, setBeforeUpload, setPartialSelection, testBeforeUpload, visit, visit, visit |
Methods inherited from class org.openstreetmap.josm.data.osm.visitor.AbstractVisitor |
---|
visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
MultiMap<Pair<Node,Node>,WaySegment> nodePairs
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
Constructor Detail |
---|
public OverlappingWays()
Method Detail |
---|
public void startTest(ProgressMonitor monitor)
Test
startTest
in class Test
monitor
- the progress monitorpublic void endTest()
Test
If you override this method, don't forget to cleanup Test.progressMonitor
(most overrides call super.endTest()
to do this).
endTest
in class Test
public void visit(Way w)
Visitor
visit
in interface Visitor
visit
in class Test
w
- The way to inspect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |