Class DuplicatedWayNodes
java.lang.Object
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.DuplicatedWayNodes
- All Implemented Interfaces:
OsmPrimitiveVisitor
Checks for ways with identical consecutive nodes.
- Since:
- 3669
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.Test
Test.TagTest -
Field Summary
FieldsFields 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 -
Method Summary
Methods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, endTest, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isPrimitiveUsable, isResidentialArea, ok, removeIrrelevantErrors, setBeforeUpload, setPartialSelection, setShowElements, startTest, testBeforeUpload, visit, visit, visit
-
Field Details
-
DUPLICATE_WAY_NODE
- See Also:
-
-
Constructor Details
-
DuplicatedWayNodes
public DuplicatedWayNodes()Constructs a newDuplicatedWayNodestest.
-
-
Method Details
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for lines.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Overrides:
visitin classTest- Parameters:
w- The way to inspect.
-
fixError
Description copied from class:TestFixes the error with the appropriate command -
isFixable
Description copied from class:TestReturns true if the given error can be fixed automatically
-