Class WronglyOrderedWays
- java.lang.Object
-
- org.openstreetmap.josm.data.validation.Test
-
- org.openstreetmap.josm.data.validation.tests.WronglyOrderedWays
-
- All Implemented Interfaces:
OsmPrimitiveVisitor
public class WronglyOrderedWays extends Test
Check cyclic ways for errors
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.Test
Test.TagTest
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
WRONGLY_ORDERED_COAST
protected static int
WRONGLY_ORDERED_LAND
-
Fields inherited from class org.openstreetmap.josm.data.validation.Test
checkBeforeUpload, checkEnabled, description, enabled, errors, IN_DOWNLOADED_AREA, IN_DOWNLOADED_AREA_STRICT, isBeforeUpload, name, partialSelection, progressMonitor, stopwatch, testBeforeUpload
-
-
Constructor Summary
Constructors Constructor Description WronglyOrderedWays()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
reportError(Way w, java.lang.String msg, int type)
void
visit(Way w)
Visiting call for lines.-
Methods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, isResidentialArea, ok, removeIrrelevantErrors, setBeforeUpload, setPartialSelection, setShowElements, startTest, testBeforeUpload, visit, visit, visit
-
-
-
-
Field Detail
-
WRONGLY_ORDERED_COAST
protected static final int WRONGLY_ORDERED_COAST
- See Also:
- Constant Field Values
-
WRONGLY_ORDERED_LAND
protected static final int WRONGLY_ORDERED_LAND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WronglyOrderedWays
public WronglyOrderedWays()
Constructor
-
-
Method Detail
-
visit
public void visit(Way w)
Description copied from interface:OsmPrimitiveVisitor
Visiting call for lines.- Specified by:
visit
in interfaceOsmPrimitiveVisitor
- Overrides:
visit
in classTest
- Parameters:
w
- The way to inspect.
-
reportError
private void reportError(Way w, java.lang.String msg, int type)
-
-