Package org.openstreetmap.josm.data.validation.tests
Provides the classes for JOSM data validation tests.
-
Interface Summary Interface Description MapCSSTagCheckerFixCommand Represents a fix to a validation test.SimilarNamedWays.NormalizeRule A normalization that is applied to names before testing them -
Class Summary Class Description Addresses Performs validation tests on addresses (addr:housenumber) and associatedStreet relations.ApiCapabilitiesTest Performs validation tests against OSM API capabilities.BarriersEntrances Performs validation tests on barriers and entrances.Coastlines Check coastlines for errorsConditionalKeys Checks for conditional restrictionsConditionalKeys.ConditionalValue A conditional value is a value for the access restriction tag that depends on conditions (time, ...)ConnectivityRelations Check for inconsistencies in lane information between relation and members.CrossingWays Tests if there are segments that crosses in the same layer/levelCrossingWays.Boundaries Crossing boundaries ways test.CrossingWays.MessageHelper CrossingWays.SelfCrossing Self crossing ways test (for all ways)CrossingWays.Ways General crossing ways test.CycleDetector Test for detecting cycles in a directed graph, currently used for waterways only.DirectionNodes Find nodes with direction tag and invalid number of parent ways or position in way.DuplicatedWayNodes Checks for ways with identical consecutive nodes.DuplicateNode Tests if there are duplicate nodesDuplicateNode.NodeHash DuplicateRelation Tests if there are duplicate relationsDuplicateRelation.RelationMembers Class to store relation membersDuplicateRelation.RelationPair Class to store relation data (keys are usually cleanup and may not be equal to original relation)DuplicateRelation.RelMember Class to store one relation members and information about itDuplicateWay Tests if there are duplicate waysDuplicateWay.WayPair Class to store a way reduced to coordinates and keys.DuplicateWay.WayPairNoTags Class to store a way reduced to coordinates.Highways Test that performs semantic checks on highways.InternetTags Performs validation tests on internet-related tags (websites, e-mail addresses, etc.).Lanes Test that validateslane:
tags.LongSegment Checks for very long segments.MapCSSTagChecker MapCSS-based tag checker/fixer.MapCSSTagChecker.MapCSSTagCheckerAndRule MapCSSTagChecker.ParseResult MapCSSTagCheckerAsserts Utility class for checking rule assertions ofMapCSSTagCheckerRule
.MapCSSTagCheckerRule Tag check.MultipolygonTest Checks if multipolygons are validMultipolygonTest.PolygonLevel Helper class for calculation of nesting levelsMultipolygonTest.PolygonLevelFinder Find nesting levels of polygons.NameMismatch Check for missing name:* translations.OpeningHourTest Tests the correct usage of the opening hour syntax of the tagsopening_hours
,collection_times
,service_times
according to OpeningHoursParser.OverlappingWays Tests if there are overlapping ways.PowerLines Checks for nodes in power lines/minor_lines that do not have a power=tower/pole/portal tag nodes where the reference numbering not consistent ways where are unusually long segments without line support feature ways where the line type is possibly misused See #7812 and #20716 for discussions about this test.PowerLines.RefChecker Detects continuous reference numbering sequences.PowerLines.SegmentInfo Helper class for reference numbering test.PublicTransportRouteTest Tests for public transport routes.RelationChecker Check for wrong relations.RelationChecker.RoleInfo RightAngleBuildingTest Checks for buildings with angles close to right angle.SelfIntersectingWay Checks for self-intersecting ways.SharpAngles Find highways that have sharp anglesSimilarNamedWays Checks for similar named ways, symptom of a possible typo.SimilarNamedWays.RegExprRule A rule to replace by regular expression, so that all strings matching the regular expression are handled as if they wereSimilarNamedWays.RegExprRule.replacement
SimilarNamedWays.SynonymRule A rule that registers synonyms to a given wordTagChecker Check for misspelled or wrong tagsTurnrestrictionTest Checks if turn restrictions are validUnclosedWays Check area type ways for errorsUnclosedWays.UnclosedWaysBooleanCheck A check performed by UnclosedWays test where the key is treated as boolean.UnclosedWays.UnclosedWaysCheck A check performed by UnclosedWays test.UnconnectedWays Checks if a way has an endpoint very near to another way.UnconnectedWays.UnconnectedHighways Unconnected highways test.UnconnectedWays.UnconnectedNaturalOrLanduse Unconnected natural/landuse test.UnconnectedWays.UnconnectedPower Unconnected power ways test.UnconnectedWays.UnconnectedRailways Unconnected railways test.UnconnectedWays.UnconnectedWaterways Unconnected waterways test.UntaggedNode Checks for nodes with uninteresting tags that are in no wayUntaggedWay Checks for untagged waysWayConnectedToArea Checks for ways connected to areas.WronglyOrderedWays Check cyclic ways for errors -
Enum Summary Enum Description CrossingWays.WayType Type of way.MultipolygonTest.ExtPolygonIntersection PowerLines.NumberingDirection Power line support features ref=* numbering direction. -
Exception Summary Exception Description ConditionalKeys.ConditionalParsingException