wiki:Help/Preferences/Validator

Version 19 (modified by openstreetmap.org-user-d1g, 9 years ago) ( diff )

some osm links

This page is incomplete.

Preferences > Validator Settings

In this preference settings, you can activate only the tests you need. By default, all error and warning tests are active.

These are the validations performed by the validator:

NOTE: Links in third column lead to video explanations

Validation Description Textual help and video guides
Addresses Checks for errors in Addresses and Relation:associatedStreet.
source:/trunk/images/data/warning.png House number without street Checks for objects that have an addr:housenumber tag, but neither addr:street nor addr:place. The street name can also be provided using an associatedStreet relation or on interpolation way. Add the missing street name information.
source:/trunk/images/data/warning.png Duplicate house numbers Checks if two members of an associatedStreet relation have the identical house number. Make sure different buildings have different house numbers. Ignore this warning, if two buildings really have the same house number.
source:/trunk/images/data/warning.png Multiple street names in relation Verifies that the name tag of an associatedStreet relation matches the name tags of the members with role street and the addr:street tag of the members with role house.
source:/trunk/images/data/warning.png House number too far from street Checks if the houses of an associatedStreet are far away from the corresponding street. Verify that the house really belongs the the street that is given by the relation.
source:/trunk/images/data/warning.png Multiple associatedStreet relations Checks if an object is in more than one associatedStreet relation.
Barriers and entrances Checks for errors in Barriers and Key:entrance.
Coastlines This test checks that Coastline are correct.
Conditional Keys Tests for the correct usage of *:conditional tags. Imprecise rules covered at osm wiki page "Conditional restrictions"
Crossing barriers / boundaries / ways This test checks if two roads, railways, waterways or buildings crosses in the same layer, but are not connected by a node. (video) usually you need to add a common node
Duplicated nodes This test checks that there are no nodes at the very same location.
Duplicated relations This test checks that there are no relations with same tags and same members with same roles.
Duplicated ways This test checks that there are no ways with same node coordinates and optionally also same tags.
Duplicated way nodes Checks for ways with identical consecutive nodes.
Highways Performs semantic checks on highways.
Lane tags Test that validates lane: tags.
Tag checker (MapCSS based) This test checks for errors in tag keys and values.
Multipolygon This test checks if multipolygons are valid.
Missing name:* translation This test finds multilingual objects whose name attribute is not equal to some name:* attribute and not a composition of name:* attributes, e.g., Italia - Italien - Italy.
Opening hours syntax This test checks the correct usage of the opening hours syntax. common OH examples common mistakes complete OH spec
Overlapping ways This test checks that a connection between two nodes is not used by more than one way. (video) Using selection, split and middle mouse
Power lines Checks for nodes in power lines that do not have a power=tower/pole tag.
Relation checker Checks for errors in relations.
Self-intersecting ways This test checks for ways that contain some of their nodes more than once.
Similarly named ways This test checks for ways with similar names that may have been misspelled.
Tag checker This test checks for errors in tag keys and values.
Turnrestrictions This test checks if turn restrictions are valid.
source:/trunk/images/data/warning.png Unknown role Checks if the role for members of a turn restriction relation is either from, to (ways) or via (nodes and ways)
source:/trunk/images/data/warning.png Unknown member type Verifies that only nodes and ways (and not relations) are members of a turn restriction relation.
source:/trunk/images/data/error.png No "from" way found
No "to" way found
No "via" node or way found
Checks that all necessary elements of a turn restriction relation are present.
source:/trunk/images/data/error.png More than one "from" way found
More than one "to" way found
More than one "via" node found
Ensures, that there is at most one way with role from and to and at most one node with role via in a turn restriction relaion.
source:/trunk/images/data/error.png Cannot mix node and way for role "via" Ensures that there is either a "via" node or multiple "via" ways, but not a mix of nodes and ways with role via.
source:/trunk/images/data/error.png The "from" way does not start or end at a "via" node.
The "to" way does not start or end at a "via" node.
The "from" and the first "via" way are not connected.
The "via" ways are not connected.
The last "via" and the "to" way are not connected.
Checks if the different parts of a turn restriction relation are connected. This test is also aware of oneway streets and considers parts unconnected, if they cannot be traveled in the intended order due to the oneway restriction. Make sure that consecutive member of a turn restriction relation are connected. (Ways must be connected end-to-end.)
source:/trunk/images/data/warning.png Superfluous turnrestriction as "to" way is oneway The turn restriction is not needed, because the corresponding turn would mean to enter a oneway street from the wrong side. Verify that the "from" and "to" ways are correctly assigned and delete the relation if it is indeed superfluous.
Unclosed Ways This tests if ways which should be circular are closed.
Unconnected highways / natural lands and landuses / power ways / railways / waterways This test checks if a way has an endpoint very near to another way.
Untagged and unconnected nodes This test checks for untagged nodes that are not part of any way.
Untagged, empty and one node ways This test checks for untagged, empty and one node ways.
Way connected to Area Checks for ways connected to areas.
Wrongly Ordered Ways This test checks the direction of water, land and coastline ways.
Uncategorized Descriptions that need to be checked, updated and added to one of the categories above.
source:/trunk/images/data/error.png Duplicated nodesChecks that there are no nodes in the very same locationMerge the nodes into only one, adding the properties from all nodes to the merged one
source:/trunk/images/data/error.png Duplicated way nodesChecks that ways contain no loop edges (i.e., a single step from a node to itself)Split the way, and delete the way consisting of the loop edge.
source:/trunk/images/data/error.png Reversed coastline: land not on left sideChecks for coastlines that are not counter-clockwise or that are otherwise misplaced (coastline misused as inland lake)Reverse coastline
source:/trunk/images/data/error.png Unconnected coastline: coastline ways do not form closed loopsChecks for coastlines ways that are not connected to the end of other coastline ways
source:/trunk/images/data/error.png Unordered coastline: coastline ways are not connected start-to-endChecks for coastline ways of which either the start is not connected to the end of another coastline or the end is not connected to the start of another coastlineReverse coastline
source:/trunk/images/data/error.pngIncomplete waysChecks for ways with zero or only one nodeRemoves the way
Check property keysChecks misspelled property keys. See the words.cfg for file of misspelled property keysReplace wrong key with right one
Check property valuesChecks misspelled property values. Uses the tagging presets file for checkingCorrect spelling
Empty propertiesChecks for properties with empty valuesRemove the empty properties
source:/trunk/images/data/warning.png Crossing waysChecks for ways (with highway/railway/waterway tags) that crosses in same layer with no crossing nodeAdd appropriate layer (and possibly bridge or tunnel)
Unordered waysChecks that all segments in a way are properly orderedReorder the way
source:/trunk/images/data/warning.png Overlapping (high)waysChecks for two (high)ways that share the same nodesRemove the double (high)way
source:/trunk/images/data/warning.png Self-intersecting waysCheck if a way crosses itselfRemove the self-crossing, remove overlapping parts or split way
source:/trunk/images/data/warning.png Similar named waysChecks for ways with very similar names, possibly a typoFix names or ignore false warning
source:/trunk/images/data/warning.png Unclosed waysChecks that way types, which should be closed really are closedClose unclosed ways
source:/trunk/images/data/warning.png Untagged waysChecks for untagged waysEither describe them correctly or remove ways when useless
source:/trunk/images/data/warning.png Way end node near other highway End point of a way is very near to other ways Connect the ways or when really unconnected set a 'noexit' tag to prevent further warnings
source:/trunk/images/data/warning.png Style for outer way mismatchesWithin a multipolygon relation, one of the tags of the relation and the outer ways is shared but with different valuesCopy relation related tags to the relation itself
source:/trunk/images/data/warning.png Style for inner way equals multipolygonWithin a multipolygon relation, one of the tags of the relation and the inner ways is shared and has the same valueRemove tag from inner way
source:/trunk/images/data/other.png FIXMESChecks for any property with the word "FIXME" insideResolve the mentioned issue
source:/trunk/images/data/other.png Highway without a referenceChecks if there is a ref tag for highways that are tagged tertiary. Not always required, see for instance HighwayAdd ref property or ignore
source:/trunk/images/data/other.png Key 'x' invalid. - ...Check for illegal key combinations, names and similar issuesFix the issue when possible
source:/trunk/images/data/other.png Nodes with the same nameCheck if two nodes have equal nameJoin nodes when possible, ignore otherwise
source:/trunk/images/data/other.png Overlapping areasChecks if areas overlapRemove overlapping only when really wrong.
source:/trunk/images/data/other.png Unknown propery valueChecks for proper use of tagsRemove or change incorrectly used tag
source:/trunk/images/data/other.png Untagged and unconnected nodesChecks rogue nodesDelete unused nodes when they have no further tags
source:/trunk/images/data/other.png No style in multipolygon relationThe multipolygon relation is missing a tag describing what it representsFor a building, add building=yes to the relation etc.

See also


Back to Preferences
Back to Main Help

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.