org.openstreetmap.josm.data.validation.tests
Class TurnrestrictionTest
java.lang.Object
org.openstreetmap.josm.data.osm.visitor.AbstractVisitor
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.TurnrestrictionTest
- All Implemented Interfaces:
- Visitor
public class TurnrestrictionTest
- extends Test
Methods inherited from class org.openstreetmap.josm.data.validation.Test |
addGui, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, ok, setBeforeUpload, setPartialSelection, startTest, testBeforeUpload, visit, visit, visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_VIA
protected static final int NO_VIA
- See Also:
- Constant Field Values
NO_FROM
protected static final int NO_FROM
- See Also:
- Constant Field Values
NO_TO
protected static final int NO_TO
- See Also:
- Constant Field Values
MORE_VIA
protected static final int MORE_VIA
- See Also:
- Constant Field Values
MORE_FROM
protected static final int MORE_FROM
- See Also:
- Constant Field Values
MORE_TO
protected static final int MORE_TO
- See Also:
- Constant Field Values
UNKNOWN_ROLE
protected static final int UNKNOWN_ROLE
- See Also:
- Constant Field Values
UNKNOWN_TYPE
protected static final int UNKNOWN_TYPE
- See Also:
- Constant Field Values
FROM_VIA_NODE
protected static final int FROM_VIA_NODE
- See Also:
- Constant Field Values
TO_VIA_NODE
protected static final int TO_VIA_NODE
- See Also:
- Constant Field Values
FROM_VIA_WAY
protected static final int FROM_VIA_WAY
- See Also:
- Constant Field Values
TO_VIA_WAY
protected static final int TO_VIA_WAY
- See Also:
- Constant Field Values
MIX_VIA
protected static final int MIX_VIA
- See Also:
- Constant Field Values
UNCONNECTED_VIA
protected static final int UNCONNECTED_VIA
- See Also:
- Constant Field Values
SUPERFLUOUS
protected static final int SUPERFLUOUS
- See Also:
- Constant Field Values
TurnrestrictionTest
public TurnrestrictionTest()
visit
public void visit(Relation r)
- Description copied from interface:
Visitor
- Visiting call for relations.
- Specified by:
visit
in interface Visitor
- Overrides:
visit
in class Test
- Parameters:
r
- The relation to inspect.
checkIfConnected
private void checkIfConnected(Way previous,
Way current,
java.lang.String msg,
int code)
JOSM