Class UnconnectedWays.UnconnectedRailways
java.lang.Object
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.UnconnectedWays
org.openstreetmap.josm.data.validation.tests.UnconnectedWays.UnconnectedRailways
- All Implemented Interfaces:
OsmPrimitiveVisitor
- Enclosing class:
- UnconnectedWays
Unconnected railways test.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.tests.UnconnectedWays
UnconnectedWays.UnconnectedHighways, UnconnectedWays.UnconnectedNaturalOrLanduse, UnconnectedWays.UnconnectedPower, UnconnectedWays.UnconnectedRailways, UnconnectedWays.UnconnectedWaterwaysNested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.Test
Test.TagTest -
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.data.validation.tests.UnconnectedWays
DETOUR_FACTOR, PREFIX, UNCONNECTED_WAYSFields 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
Modifier and TypeMethodDescriptionprotected booleanCheck if unconnected end node should be ignored.protected booleanMethods inherited from class org.openstreetmap.josm.data.validation.tests.UnconnectedWays
addErrors, endTest, getHighwayEndNodesNearOtherHighway, getWantedParentWay, getWayEndNodesNearOtherWay, getWayNodesNearOtherWay, getWaySegments, isPrimitiveUsable, isWantedWay, startTest, visit, visitMethods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, fixError, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isFixable, isResidentialArea, ok, removeIrrelevantErrors, setBeforeUpload, setPartialSelection, setShowElements, testBeforeUpload, visit, visit
-
Field Details
-
UNCONNECTED_RAILWAYS
- See Also:
-
-
Constructor Details
-
UnconnectedRailways
public UnconnectedRailways()Constructs a newUnconnectedRailwaystest.
-
-
Method Details
-
isCandidate
- Specified by:
isCandidatein classUnconnectedWays
-
ignoreUnconnectedEndNode
Description copied from class:UnconnectedWaysCheck if unconnected end node should be ignored.- Overrides:
ignoreUnconnectedEndNodein classUnconnectedWays- Parameters:
n- the node- Returns:
- true if node should be ignored
-