Class CrossingWays.Boundaries
java.lang.Object
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.CrossingWays
org.openstreetmap.josm.data.validation.tests.CrossingWays.Boundaries
- All Implemented Interfaces:
OsmPrimitiveVisitor
- Enclosing class:
- CrossingWays
Crossing boundaries ways test.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
CrossingWays.Boundaries, CrossingWays.MessageHelper, CrossingWays.SelfCrossing, CrossingWays.WaysNested 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.CrossingWays
BARRIER, code, HIGHWAY, LANDUSE, RAILWAY, WATERWAYFields 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 TypeMethodDescriptionCollect all boundary tag values of the way and its parent relations(package private) booleanignoreWaySegmentCombination(Way w1, Way w2) booleanDetermines if the primitive is usable for tests.voidVisiting call for relations.Methods inherited from class org.openstreetmap.josm.data.validation.tests.CrossingWays
createMessage, endTest, findIntersectingWay, getSegments, getSegments, isCoastline, isHighway, isProposedOrAbandoned, isRailway, isSelfCrossing, isSubwayOrTramOrRazed, isWaterArea, isWaterAreaOrFairway, runTest, startTest, 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
-
CROSSING_BOUNDARIES
- See Also:
-
-
Constructor Details
-
Boundaries
public Boundaries()Constructs a new crossingBoundariestest.
-
-
Method Details
-
isPrimitiveUsable
Description copied from class:TestDetermines if the primitive is usable for tests.- Overrides:
isPrimitiveUsablein classTest- Parameters:
p- The primitive- Returns:
trueif the primitive can be tested,falseotherwise
-
ignoreWaySegmentCombination
- Specified by:
ignoreWaySegmentCombinationin classCrossingWays
-
getBoundaryTags
Collect all boundary tag values of the way and its parent relations- Parameters:
w- the way to check- Returns:
- set with the found boundary tag values
-
visit
Description copied from interface:OsmPrimitiveVisitorVisiting call for relations.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Overrides:
visitin classTest- Parameters:
r- The relation to inspect.
-