Package | Description |
---|---|
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.data.validation | |
org.openstreetmap.josm.data.validation.tests | |
org.openstreetmap.josm.gui.preferences |
Modifier and Type | Field and Description |
---|---|
private Collection<Test> |
ValidateAction.ValidationTask.tests |
Constructor and Description |
---|
ValidationTask(Collection<Test> tests,
Collection<OsmPrimitive> validatedPrimitives,
Collection<OsmPrimitive> formerValidatedPrimitives) |
Modifier and Type | Field and Description |
---|---|
private Test |
TestError.tester
The tester that raised this error
|
Modifier and Type | Field and Description |
---|---|
private static Map<String,Test> |
OsmValidator.allTestsMap |
Modifier and Type | Method and Description |
---|---|
Test |
TestError.getTester()
Gets the tester that raised this error
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Test> |
OsmValidator.getAllTestsMap()
Gets a map from simple names to all tests.
|
static Collection<Test> |
OsmValidator.getEnabledTests(boolean beforeUpload) |
static Collection<Test> |
OsmValidator.getTests() |
Modifier and Type | Method and Description |
---|---|
private static void |
OsmValidator.applyPrefs(Map<String,Test> tests,
boolean beforeUpload) |
static void |
OsmValidator.initializeTests(Collection<Test> allTests)
Initializes all tests
|
Constructor and Description |
---|
FixableTestError(Test tester,
Severity severity,
String message,
int code,
Collection<? extends OsmPrimitive> primitives,
Collection<?> highlighted,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
int code,
Collection<? extends OsmPrimitive> primitives,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
int code,
OsmPrimitive primitive,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
Collection<? extends OsmPrimitive> primitives,
Collection<?> highlighted,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
Collection<? extends OsmPrimitive> primitives,
Command fix) |
FixableTestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
OsmPrimitive primitive,
Command fix) |
TestError(Test tester,
Severity severity,
String message,
int code,
Collection<? extends OsmPrimitive> primitives) |
TestError(Test tester,
Severity severity,
String message,
int code,
Collection<? extends OsmPrimitive> primitives,
Collection<?> highlighted) |
TestError(Test tester,
Severity severity,
String message,
int code,
OsmPrimitive primitive) |
TestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
Collection<? extends OsmPrimitive> primitives) |
TestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
Collection<? extends OsmPrimitive> primitives,
Collection<?> highlighted)
Constructs a new
TestError . |
TestError(Test tester,
Severity severity,
String message,
String description,
String description_en,
int code,
OsmPrimitive primitive) |
Modifier and Type | Class and Description |
---|---|
class |
Addresses
Performs validation tests on addresses (addr:housenumber) and associatedStreet relations.
|
class |
BarriersEntrances
Performs validation tests on barriers and entrances.
|
class |
BuildingInBuilding
Checks for building areas inside of buildings
|
class |
Coastlines
Check coastlines for errors
|
class |
CrossingWays
Tests if there are segments that crosses in the same layer
|
class |
DeprecatedTags
Checks and corrects deprecated and unnecessary tags.
|
class |
DuplicatedWayNodes
Checks for ways with identical consecutive nodes.
|
class |
DuplicateNode
Tests if there are duplicate nodes
|
class |
DuplicateRelation
Tests if there are duplicate relations
|
class |
DuplicateWay
Tests if there are duplicate ways
|
class |
Highways
Test that performs semantic checks on highways.
|
class |
MultipolygonTest
Checks if multipolygons are valid
|
class |
NameMismatch
Check for missing name:* translations.
|
class |
NodesDuplicatingWayTags
Warn when a node has the same tags as its parent way.
|
class |
NodesWithSameName
Finds nodes that have the same name (might be duplicates)
|
class |
OpeningHourTest
Tests the correct usage of the opening hour syntax of the tags
opening_hours , collection_times , service_times according to
opening_hours.js. |
class |
OverlappingAreas
Checks if areas overlap.
|
class |
OverlappingWays
Tests if there are overlapping ways
|
class |
PowerLines
Checks for nodes in power lines/minor_lines that do not have a power=tower/pole tag.
|
class |
RelationChecker
Check for wrong relations
|
class |
SelfIntersectingWay
Checks for self-intersecting ways.
|
class |
SimilarNamedWays
Checks for similar named ways, symptom of a possible typo.
|
class |
TagChecker
Check for misspelled or wrong tags
|
class |
TurnrestrictionTest
Checks if turnrestrictions are valid
|
class |
UnclosedWays
Check area type ways for errors
|
class |
UnconnectedWays
Tests if there are segments that crosses in the same layer
|
class |
UntaggedNode
Checks for nodes with uninteresting tags that are in no way
|
class |
UntaggedWay
Checks for untagged ways
|
class |
WayConnectedToArea
Checks for ways connected to areas.
|
class |
WronglyOrderedWays
Check cyclic ways for errors
|
Modifier and Type | Method and Description |
---|---|
List<TestError> |
DuplicateNode.buildTestErrors(Test parentTest,
List<Node> nodes)
Returns the list of "duplicate nodes" errors for the given selection of node and parent test
|
Modifier and Type | Field and Description |
---|---|
private Collection<Test> |
ValidatorPreference.allTests
The list of all tests
|