[[TranslatedPages(outdated=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'' =||= ''What is checked'' =||= Textual help and video guides =|| ||||= '''Addresses''' =|||| errors in [[osmwiki:Addresses]] and [[osmwiki:Relation:associatedStreet]]. || || [[Image(source:/trunk/images/data/warning.png)]] || House number without street || 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. || || [[Image(source:/trunk/images/data/warning.png)]] || Duplicate house numbers || 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. || || [[Image(source:/trunk/images/data/warning.png)]] || Multiple street names in relation || `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`. || [[Image(source:/trunk/images/data/warning.png)]] || House number too far from street || 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. || || [[Image(source:/trunk/images/data/warning.png)]] || Multiple associatedStreet relations || an object is in more than one `associatedStreet` relation. || || ||||= '''Barriers and entrances''' =|||| errors in [[osmwiki:Barriers]] and [[osmwiki:Key:entrance]]. || ||||= '''Coastlines''' =|||| [[osmwiki:Coastline]] are correct. || ||||= '''Conditional Keys''' =|| usage of `*:conditional` tags. || Imprecise rules covered at [http://wiki.openstreetmap.org/wiki/Conditional_restrictions osm wiki page "Conditional restrictions"] ||||= '''Crossing barriers / boundaries / ways''' =|| two roads, railways, waterways or buildings crosses in the same layer, but are not connected by a node. ||[https://commons.wikimedia.org/wiki/File:JOSM_9900_en_validator_message_%22Crossing_ways%22_with_shortcuts.ogv (video) usually you need to add a common node] || ||||= '''Duplicated nodes''' =|||| no nodes at the very same location. || ||||= '''Duplicated relations''' =|||| no relations with same tags and same members with same roles. || ||||= '''Duplicated ways''' =|||| no ways with same node coordinates and optionally also same tags. || ||||= '''Duplicated way nodes''' =|||| ways with identical consecutive nodes. || ||||= '''Highways''' =|||| semantic checks on highways. || ||||= '''Lane tags''' =|||| `lane:` tags. || ||||= '''Tag checker (MapCSS based)''' =|||| errors in tag keys and values. || ||||= '''Multipolygon''' =|||| multipolygons are valid. || ||||= '''Missing name:* translation''' =|||| 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''' =|| correct usage of the opening hours syntax. || [http://wiki.openstreetmap.org/wiki/Key:opening_hours#Examples common OH examples] [http://wiki.openstreetmap.org/wiki/Key:opening_hours#Common_mistakes common mistakes] [http://wiki.openstreetmap.org/wiki/Key:opening_hours/specification complete OH spec] || ||||= '''Overlapping ways''' =|| a connection between two nodes is not used by more than one way. || [https://commons.wikimedia.org/wiki/File:JOSM_9900_en_validator_message_%22Overlapping_ways%22_with_shortcuts.ogv (video) Using selection, split and middle mouse] || ||||= '''Power lines''' =|||| nodes in power lines that do not have a power=tower/pole tag. || ||||= '''Relation checker''' =|||| errors in relations. || ||||= '''Self-intersecting ways''' =|||| ways that contain some of their nodes more than once. || ||||= '''Similarly named ways''' =|||| ways with similar names that may have been misspelled. || ||||= '''Tag checker''' =|||| errors in tag keys and values. || ||||= '''Turnrestrictions''' =|||| [[osmwiki:Relation:restriction|turn restrictions]] are valid. || || [[Image(source:/trunk/images/data/warning.png)]] || Unknown role || the role for members of a turn restriction relation is either `from`, `to` (ways) or `via` (nodes and ways) || || || [[Image(source:/trunk/images/data/warning.png)]] || Unknown member type || only nodes and ways (and not relations) are members of a turn restriction relation. || || || [[Image(source:/trunk/images/data/error.png)]] || No "from" way found [[br]] No "to" way found [[br]] No "via" node or way found || all necessary elements of a turn restriction relation are present. || || || [[Image(source:/trunk/images/data/error.png)]] || More than one "from" way found [[br]] More than one "to" way found [[br]] More than one "via" node found || at most one way with role `from` and `to` and at most one node with role `via` in a turn restriction relaion. || || || [[Image(source:/trunk/images/data/error.png)]] || Cannot mix node and way for role "via" || there is either a "via" node or multiple "via" ways, but not a mix of nodes and ways with role `via`. || || || [[Image(source:/trunk/images/data/error.png)]] || The "from" way does not start or end at a "via" node. [[br]] The "to" way does not start or end at a "via" node. [[br]] The "from" and the first "via" way are not connected. [[br]] The "via" ways are not connected. [[br]] The last "via" and the "to" way are not connected. || the different parts of a turn restriction relation are connected. 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.) || || [[Image(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''' =|||| ways which should be circular are closed. || ||||= '''Unconnected highways / natural lands and landuses / power ways / railways / waterways''' |||| a way has an endpoint very near to another way. || ||||= '''Untagged and unconnected nodes''' =|| untagged nodes that are not part of any way. || 1. If it is yours node, you are to decide if to remove it otherwise 2. Download parent relations and contact mappers who added these nodes in unclear cases || ||||= '''Untagged, empty and one node ways''' =|||| untagged, empty and one node ways. || ||||= '''Way connected to Area''' =|||| ways connected to areas. || ||||= '''Wrongly Ordered Ways''' =|||| direction of water, land and coastline ways. || ||||= '''Uncategorized''' =|||| Descriptions that need to be checked, updated and added to one of the categories above. || || [[Image(source:/trunk/images/data/error.png)]] ||Duplicated nodes||no nodes in the very same location||Merge the nodes into only one, adding the properties from all nodes to the merged one|| || [[Image(source:/trunk/images/data/error.png)]] ||Duplicated way nodes||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.|| || [[Image(source:/trunk/images/data/error.png)]] ||Reversed coastline: land not on left side||coastlines that are not counter-clockwise or that are otherwise misplaced (coastline misused as inland lake)||Reverse coastline|| || [[Image(source:/trunk/images/data/error.png)]] ||Unconnected coastline: coastline ways do not form closed loops||coastlines ways that are not connected to the end of other coastline ways|| || || [[Image(source:/trunk/images/data/error.png)]] ||Unordered coastline: coastline ways are not connected start-to-end||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 coastline||Reverse coastline|| ||[[Image(source:/trunk/images/data/error.png)]]||Incomplete ways||ways with zero or only one node||Removes the way|| || ||Check property keys||misspelled property keys. See the [source:/trunk/data/validator/words.cfg words.cfg] for file of misspelled property keys||Replace wrong key with right one|| || ||Check property values||misspelled property values. Uses the [TaggingPresets tagging presets] file for checking|| || ||Empty properties||properties with empty values||Remove the empty properties|| || [[Image(source:/trunk/images/data/warning.png)]] ||Crossing ways||ways (with highway/railway/waterway tags) that crosses in same layer with no crossing node||Add appropriate layer (and possibly bridge or tunnel)|| || ||Unordered ways||all segments in a way are properly ordered||Reorder the way|| || [[Image(source:/trunk/images/data/warning.png)]] ||Overlapping (high)ways||two (high)ways that share the same nodes||Remove the double (high)way|| || [[Image(source:/trunk/images/data/warning.png)]] ||Self-intersecting ways||a way crosses itself||Remove the self-crossing, remove overlapping parts or split way|| || [[Image(source:/trunk/images/data/warning.png)]] ||Unclosed ways||way types, which should be closed really are closed||Close unclosed ways|| || [[Image(source:/trunk/images/data/warning.png)]] ||Untagged ways||untagged ways|| 1. describe them correctly if you know this objects or 2. leave them until somebody describes them || || [[Image(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 || || [[Image(source:/trunk/images/data/warning.png)]] ||Style for outer way mismatches||Within a multipolygon relation, one of the tags of the relation and the outer ways is shared but with different values||Copy relation related tags to the relation itself|| || [[Image(source:/trunk/images/data/warning.png)]] ||Style for inner way equals multipolygon||Within a multipolygon relation, one of the tags of the relation and the inner ways is shared and has the same value||Remove tag from inner way || [[Image(source:/trunk/images/data/other.png)]] ||FIXMES||any property with the word "FIXME" inside || || [[Image(source:/trunk/images/data/other.png)]] ||Highway without a reference||there is a [osmwiki:Key:ref ref tag] for highways that are tagged tertiary. Not always required, see for instance [osmwiki:Map_Features#Highway Highway]||Add ref property or ignore || [[Image(source:/trunk/images/data/other.png)]] ||Key 'x' invalid. - ...||illegal key combinations, names and similar issues || || [[Image(source:/trunk/images/data/other.png)]] ||Nodes with the same name||two nodes have equal name||Join nodes when possible, ignore otherwise|| || [[Image(source:/trunk/images/data/other.png)]] ||Overlapping areas||areas overlap||Remove overlapping only when really wrong.|| || [[Image(source:/trunk/images/data/other.png)]] ||Unknown propery value||proper use of tags||If it is your new tag, it is good idea document it at wiki [[osmwiki:Any tags you like]]|| || [[Image(source:/trunk/images/data/other.png)]] ||No style in multipolygon relation||The multipolygon relation is missing a tag describing what it represents||For a building, add building=yes to the relation etc.|| == See also == * [wiki:/Help/Dialog/Validator Validator dialog] * [wiki:Rules JOSM Validator Custom rules from "Tag Checker Rules"] * [wiki:/Help/Validator/MapCSSTagChecker MapCSSTagChecker] - about the syntax of validator checks, which are based on MapCSS ---- Back to [wiki:/Help/Action/Preferences Preferences][[Br]] Back to [wiki:/Help Main Help]