Changes between Version 44 and Version 45 of Help/Preferences/Validator
- Timestamp:
- 2020-11-09T03:16:57+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Preferences/Validator
v44 v45 14 14 1. First, refer to [wikitr:/Help/Dialog/Validator Validator panel] - how to use validator 15 15 16 The fourth column contains also '''(video)'''explanations. The table is incomplete.16 The fourth column contains also **(video)** explanations. The table is incomplete. 17 17 18 ||= Type =||= Message =||= ''What is checked'' =||= Additional help =||= Autofix =|| 19 ||||= '''Addresses''' =|||||| errors in [[osmwiki:Addresses]] and [[osmwiki:Relation:associatedStreet]]. || 18 ||= **Type** =||= **Message** =||= **''What is checked''** =||= **Additional help** =||= **Autofix** =|| 19 |||| 20 ||||= **Addresses** =|||||| errors in [[osmwiki:Addresses]] and [[osmwiki:Relation:associatedStreet]]. || 20 21 || [[JOSMImage(data/warning)]] || 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. || || 21 22 || [[JOSMImage(data/warning)]] || Duplicate house numbers || two members of an `associatedStreet` relation have the identical house number. || It is possible with a low chance. || || … … 23 24 || [[JOSMImage(data/warning)]] || 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. || || 24 25 || [[JOSMImage(data/warning)]] || Multiple associatedStreet relations || an object is in more than one `associatedStreet` relation. || || || 25 ||||= '''Barriers and entrances''' =|||||| errors in [[osmwiki:Barriers]] and [[osmwiki:Key:entrance]]. || 26 ||||= '''Coastlines''' =|||||| [[osmwiki:Coastline]] are correct. || 26 |||| 27 ||||= **Barriers and entrances** =|||||| errors in [[osmwiki:Barriers]] and [[osmwiki:Key:entrance]]. || 28 |||| 29 ||||= **Coastlines** =|||||| [[osmwiki:Coastline]] are correct. || 27 30 || [[JOSMImage(data/error)]] || 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 || || 28 31 || [[JOSMImage(data/error)]] || Unconnected coastline: coastline ways do not form closed loops || coastlines ways that are not connected to the end of other coastline ways || || || 29 32 || [[JOSMImage(data/error)]] || 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 || || 30 ||||= '''Conditional Keys''' =|| usage of `*:conditional` tags. |||| Imprecise rules covered at [osmwiki:Conditional_restrictions osm wiki page "Conditional restrictions"] || 31 ||||= '''Crossing barriers / boundaries / ways''' =|||||| || 32 || [[JOSMImage(data/warning)]] || Crossing ways || ways (with highway/railway/waterway tags) that crosses in same layer with no crossing node || 1. [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] or \\ 2. add appropriate [[osmwiki:Key:layer]] (and possibly [[osmwiki:Key:bridge]] or [[osmwiki:Key:tunnel]]) || 33 ||||= '''Duplicated nodes''' =|||||| || 33 |||| 34 ||||= **Conditional Keys** =|| usage of `*:conditional` tags. |||| Imprecise rules covered at [osmwiki:Conditional_restrictions osm wiki page "Conditional restrictions"] || 35 |||| 36 ||||= **Crossing barriers / boundaries / ways** =|||||| || 37 || [[JOSMImage(data/warning)]] || Crossing ways || ways (with highway/railway/waterway tags) that cross in same layer with no crossing node || 1. [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] or \\ 2. add appropriate [[osmwiki:Key:layer]] (and possibly [[osmwiki:Key:bridge]] or [[osmwiki:Key:tunnel]]) || || 38 || [[JOSMImage(data/warning)]] || Crossing barrier/building || barrier crossing a building in same layer with no crossing node || || 39 |||| 40 ||||= **Duplicated nodes** =|||||| || 34 41 || [[JOSMImage(data/error)]] || 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 || || 35 ||||= '''Duplicated relations''' =|||||| no relations with same tags and same members with same roles. || 36 ||||= '''Duplicated ways''' =|||||| no ways with same node coordinates and optionally also same tags. || 37 ||||= '''Duplicated way nodes''' =|||||| ways with identical consecutive nodes. || 42 |||| 43 ||||= **Duplicated relations** =|||||| no relations with same tags and same members with same roles. || 44 |||| 45 ||||= **Duplicated ways** =|||||| no ways with same node coordinates and optionally also same tags. || 46 |||| 47 ||||= **Duplicated way nodes** =|||||| ways with identical consecutive nodes. || 38 48 || [[JOSMImage(data/error)]] || 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. || || 39 ||||= '''Highways''' =|||||| semantic checks on highways. || 40 || [[JOSMImage(data/other)]] || 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] || || 41 ||||= '''Lane tags''' =|||||| `lanes:` tags. || 42 ||||= '''Tag checker (MapCSS based)''' =|||||| errors in tag keys and values. || 43 ||||= '''Multipolygon''' =|||||| multipolygons are valid. || 49 |||| 50 ||||= **Highways** =|||||| semantic checks on highways. || 51 || [[JOSMImage(data/other)]] || 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] || Optionally, add [osmwiki:Key:noref noref=yes] || 52 || 53 ||||= **Lane tags** =|||||| `lanes:*` tags, see [osmwiki:Lanes] || 54 |||| 55 ||||= **Tag checker (MapCSS based)** =|||||| errors in tag keys and values. || 56 |||| 57 ||||= **Multipolygon** =|||||| multipolygons are valid. || 44 58 || [[JOSMImage(data/warning)]] || 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 || || 45 59 || [[JOSMImage(data/warning)]] || 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 || || 46 60 || [[JOSMImage(data/other)]] || 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. || || 47 ||||= '''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. || 48 ||||= '''Opening hours syntax''' =|| correct usage of the opening hours syntax. |||| [osmwiki:Key:opening_hours#Examples common OH examples] [osmwiki:Key:opening_hours#Common_mistakes common mistakes] [osmwiki:Key:opening_hours/specification complete OH spec] || 49 ||||= '''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] || 61 |||| 62 ||||= **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. || 63 |||| 64 ||||= **Opening hours syntax** =|| correct usage of the opening hours syntax. |||| [osmwiki:Key:opening_hours#Examples common OH examples] [osmwiki:Key:opening_hours#Common_mistakes common mistakes] [osmwiki:Key:opening_hours/specification complete OH spec] || 65 |||| 66 ||||= **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] || 50 67 || [[JOSMImage(data/warning)]] || Overlapping (high)ways || two (high) ways that share the same nodes || || 51 ||||= '''Power lines''' =|||||| nodes in power lines that do not have a power=tower/pole tag. || 52 ||||= '''Relation checker''' =|||||| errors in relations. || 53 ||||= '''Self-intersecting ways''' =|||||| ways that contain some of their nodes more than once. || 68 |||| 69 ||||= **Power lines** =|||||| nodes in power lines that do not have a power=tower/pole tag. || 70 |||| 71 ||||= **Relation checker** =|||||| errors in relations. || 72 |||| 73 ||||= **Almost right angle buildings** =|||||| buildings with an almost right angle. \\ ''Advanced preferences:'' \\ `validator.RightAngleBuilding.maximumDelta` ''(default: 10.0)'' \\ `validator.RightAngleBuilding.minimumDelta` ''(default: 1.0)'' || 74 || [[JOSMImage(data/other)]] || Building with an almost square angle || || || yes, #20038 || 75 |||| 76 ||||= **Self-intersecting ways** =|||||| ways that contain some of their nodes more than once. || 54 77 || [[JOSMImage(data/warning)]] || Self-intersecting ways || a way crosses itself || Remove the self-crossing, remove overlapping parts or split way || || 55 ||||= '''Similarly named ways''' =|||||| ways with similar names that may have been misspelled. || 78 |||| 79 ||||= **Similarly named ways** =|||||| ways with similar names that may have been misspelled. || 56 80 || [[JOSMImage(data/warning)]] || Similar named ways || ways with very similar names, possibly a typo || || 57 |||| = '''Tag checker''' =|||||| errors in tag keys and values. ||58 ||||= '''Turn-restrictions'''=||||||[osmwiki:Relation:restriction turn-restrictions] are valid. ||59 || [[JOSMImage(data/warning)]] || Unknown role || the role for members of a turn restriction relation is either `from`, `to` (ways) or `via` (nodes and ways) || ||||60 || [[JOSMImage(data/warning)]] || Unknown member type || only nodes and ways (and not relations) are members of a turnrestrictionrelation. || ||||81 |||| 82 ||||= **Tag checker** =|||||| errors in tag keys and values. || 83 |||| 84 ||||= **Turn-restrictions** =|||||| [osmwiki:Relation:restriction turn-restrictions] are valid. || 61 85 || [[JOSMImage(data/error)]] || No "from" way found \\ No "to" way found \\ No "via" node or way found || all necessary elements of a turn restriction relation are present. || || || 62 86 || [[JOSMImage(data/error)]] || More than one "from" way found \\ More than one "to" way found \\ 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 relation. || || || 63 87 || [[JOSMImage(data/error)]] || 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`. || || || 64 88 || [[JOSMImage(data/error)]] || 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. || 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.) || || 89 || [[JOSMImage(data/warning)]] || Unknown role || the role for members of a turn restriction relation is either `from`, `to` (ways) or `via` (nodes and ways) || || || 90 || [[JOSMImage(data/warning)]] || Unknown member type || only nodes and ways (and not relations) are members of a turn restriction relation. || || || 65 91 || [[JOSMImage(data/warning)]] || Superfluous turn-restriction 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. || || 66 ||||= '''Unclosed Ways''' =|||||| ways which should be circular are closed. || 92 |||| 93 ||||= **Unclosed Ways** =|||||| ways which should be circular are closed. || 67 94 || [[JOSMImage(data/warning)]] || Unclosed ways || way types, which should be closed really are closed || Close unclosed ways || || 68 ||||= '''Unconnected highways / natural lands and landuses / power ways / railways / waterways''' |||||| a way has an endpoint very near to another way. || 95 |||| 96 ||||= **Unconnected highways / natural lands and landuses / power ways / railways / waterways** |||||| a way has an endpoint very near to another way. || 69 97 || [[JOSMImage(data/warning)]] || 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 || || 70 ||||= '''Untagged and unconnected nodes''' =|||||| untagged nodes that are not part of any way. || 98 |||| 99 ||||= **Untagged and unconnected nodes** =|||||| untagged nodes that are not part of any way. || 71 100 || [[JOSMImage(data/warning)]] || Unconnected nodes without physical tags || 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 || || 72 ||||= '''Untagged, empty and one node ways''' =|||||| untagged, empty and one node ways. || 101 |||| 102 ||||= **Untagged, empty and one node ways** =|||||| untagged, empty and one node ways. || 73 103 || [[JOSMImage(data/error)]] || Incomplete ways || ways with zero or only one node || Removes the way || || 74 104 || [[JOSMImage(data/warning)]] || Untagged ways || untagged ways || 1. describe them correctly if you know this objects or \\ 2. leave them until somebody describes them || || 75 ||||= '''Way connected to Area''' =|||||| ways connected to areas. || 76 ||||= '''Wrongly Ordered Ways''' =|||||| direction of water, land and coastline ways. || 77 ||||= '''Uncategorized''' =|||||| Descriptions that need to be checked, updated and added to one of the categories above. || 105 |||| 106 ||||= **Way connected to Area** =|||||| ways connected to areas. || 107 || [[JOSMImage(data/warning)]] || Way terminates on Area || First/Last node of way connected with area || Optionally, either continue the way, unglue it from area or add a tag describing an entrance. || 108 |||| 109 ||||= **Wrongly Ordered Ways** =|||||| direction of water, land and coastline ways. || 110 |||| 111 ||||= **Uncategorized** =|||||| Descriptions that need to be checked, updated and added to one of the categories above. || 78 112 || || Check property keys || misspelled property keys. See the [source:/trunk/resources/data/validator/words.cfg words.cfg] for file of misspelled property keys || Replace wrong key with right one || || 79 113 || || Check property values || misspelled property values. Uses the [wikitr:/TaggingPresets tagging presets] file for checking || ||
