|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.osm.visitor.AbstractVisitor
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.NodesDuplicatingWayTags
public class NodesDuplicatingWayTags
Warn when a node has the same tags as its parent way. The check is rather conservative: it warns only when the tags are identical and important (i.e., no warning for a way and a node that only have a "source=PGS" tag).
See JOSM ticket #7639 for the original request.
Field Summary | |
---|---|
protected static int |
NODE_DUPING_PARENT_WAY_TAGS
|
Fields inherited from class org.openstreetmap.josm.data.validation.Test |
---|
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, testBeforeUpload |
Constructor Summary | |
---|---|
NodesDuplicatingWayTags()
|
Method Summary | |
---|---|
void |
visit(Way way)
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 |
---|
protected static final int NODE_DUPING_PARENT_WAY_TAGS
Constructor Detail |
---|
public NodesDuplicatingWayTags()
Method Detail |
---|
public void visit(Way way)
Visitor
visit
in interface Visitor
visit
in class Test
way
- The way to inspect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |