org.openstreetmap.josm.data.validation.tests
Class WronglyOrderedWays

java.lang.Object
  extended by org.openstreetmap.josm.data.osm.visitor.AbstractVisitor
      extended by org.openstreetmap.josm.data.validation.Test
          extended by org.openstreetmap.josm.data.validation.tests.WronglyOrderedWays
All Implemented Interfaces:
Visitor

public class WronglyOrderedWays
extends Test

Check cyclic ways for errors


Field Summary
protected static int WRONGLY_ORDERED_COAST
           
protected static int WRONGLY_ORDERED_LAND
           
 
Fields inherited from class org.openstreetmap.josm.data.validation.Test
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, testBeforeUpload
 
Constructor Summary
WronglyOrderedWays()
          Constructor
 
Method Summary
private  void reportError(Way w, java.lang.String msg, int type)
           
 void visit(Way w)
          Visiting call for lines.
 
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 org.openstreetmap.josm.data.osm.visitor.AbstractVisitor
visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WRONGLY_ORDERED_COAST

protected static final int WRONGLY_ORDERED_COAST
See Also:
Constant Field Values

WRONGLY_ORDERED_LAND

protected static final int WRONGLY_ORDERED_LAND
See Also:
Constant Field Values
Constructor Detail

WronglyOrderedWays

public WronglyOrderedWays()
Constructor

Method Detail

visit

public void visit(Way w)
Description copied from interface: Visitor
Visiting call for lines.

Specified by:
visit in interface Visitor
Overrides:
visit in class Test
Parameters:
w - The way to inspect.

reportError

private void reportError(Way w,
                         java.lang.String msg,
                         int type)


JOSM