Class CrossingWays.SelfCrossing
- java.lang.Object
-
- org.openstreetmap.josm.data.validation.Test
-
- org.openstreetmap.josm.data.validation.tests.CrossingWays
-
- org.openstreetmap.josm.data.validation.tests.CrossingWays.SelfCrossing
-
- All Implemented Interfaces:
OsmPrimitiveVisitor
- Enclosing class:
- CrossingWays
public static class CrossingWays.SelfCrossing extends CrossingWays
Self crossing ways test (for all ways)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
CrossingWays.Boundaries, CrossingWays.MessageHelper, CrossingWays.SelfCrossing, CrossingWays.Ways
-
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
CROSSING_SELF
-
Fields inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
BARRIER, code, HIGHWAY, LANDUSE, RAILWAY, WATERWAY
-
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 SelfCrossing()
Constructs a new SelfIntersection test.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
ignoreWaySegmentCombination(Way w1, Way w2)
-
Methods inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
createMessage, endTest, findIntersectingWay, getSegments, isCoastline, isHighway, isProposedOrAbandoned, isRailway, isSelfCrossing, isSubwayOrTramOrRazed, isWaterArea, startTest, visit
-
Methods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, fixError, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, isResidentialArea, ok, setBeforeUpload, setPartialSelection, setShowElements, testBeforeUpload, visit, visit, visit
-
-
-
-
Field Detail
-
CROSSING_SELF
protected static final int CROSSING_SELF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SelfCrossing
public SelfCrossing()
Constructs a new SelfIntersection test.
-
-
Method Detail
-
ignoreWaySegmentCombination
boolean ignoreWaySegmentCombination(Way w1, Way w2)
- Specified by:
ignoreWaySegmentCombination
in classCrossingWays
-
-