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 intWRONGLY_ORDERED_COASTprotected static intWRONGLY_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 voidreportError(Way w, java.lang.String msg, int type)voidvisit(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:OsmPrimitiveVisitorVisiting call for lines.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Overrides:
visitin classTest- Parameters:
w- The way to inspect.
-
reportError
private void reportError(Way w, java.lang.String msg, int type)
-
-