Changes between Version 45 and Version 46 of Help/Preferences/Validator


Ignore:
Timestamp:
2020-11-09T23:35:56+01:00 (5 years ago)
Author:
skyper
Comment:

add general four settings; structure for second tab; update and add of tests

Legend:

Unmodified
Added
Removed
Modified
  • Help/Preferences/Validator

    v45 v46  
    33= Preferences > Data Validator =
    44[[JOSMImage(preferences/validator,48,link=,middle,margin-right=20,margin-bottom=10)]]
     5
    56An OSM data validator that checks for common errors made by users and editor programs.
     7
     8Following four general settings are available:
     9 Use ignore list::
     10  enable/disable the use of the ignore list (default: enabled)
     11 Use error layer::
     12  enable/disable the creation of a validator layer highlighting the problematic objects (default: enabled)
     13 Show informational level::
     14  enable/disable tests on informational level know as "Other" (default: disabled)
     15 Show informational level on upload::
     16  enable/disable tests on informational level on upload (default: disabled)
     17
     18All check boxes below are settings which test should be run on which action with a check box on the left for manual runs, **''On demand''**, and **''On upload''** on the right side.
    619
    720== Tests ==#Tests
     
    1932||||
    2033||||= **Addresses** =|||||| errors in [[osmwiki:Addresses]] and [[osmwiki:Relation:associatedStreet]]. ||
    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. || ||
    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 ||  [[JOSMImage(data/warning)]]  || 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`. || ||
    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. || ||
    25 ||  [[JOSMImage(data/warning)]]  || Multiple associatedStreet relations || an object is in more than one `associatedStreet` relation. || || ||
     34||  [[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. ||  no  ||
     35||  [[JOSMImage(data/warning)]]  || Duplicate house numbers || two members of an `associatedStreet` relation have the identical house number. || It is possible with a low chance. ||  no  ||
     36||  [[JOSMImage(data/warning)]]  || 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`. || ||  no  ||
     37||  [[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. ||  no  ||
     38||  [[JOSMImage(data/warning)]]  || Multiple associatedStreet relations || an object is in more than one `associatedStreet` relation. || ||  no  ||
    2639||||
    2740||||= **Barriers and entrances** =|||||| errors in [[osmwiki:Barriers]] and [[osmwiki:Key:entrance]]. ||
     
    3548||||
    3649||||= **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 || ||
     50||  [[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]]) ||  no  ||
     51||  [[JOSMImage(data/warning)]]  || Crossing barrier/building || barrier crossing a building in same layer with no crossing node || ||  no  ||
    3952||||
    40 ||||= **Duplicated nodes** =|||||| ||
     53||||= **Duplicated nodes** =|||||| ''Advanced preference:'' \\ `validator.duplicatenodes.precision` ''(default: 0.0)'' ||
    4154||  [[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 || ||
    4255||||
     
    4962||||
    5063||||= **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 ||
     64||||
    5365||||= **Lane tags** =|||||| `lanes:*` tags, see [osmwiki:Lanes] ||
    5466||||
    55 ||||= **Tag checker (MapCSS based)** =|||||| errors in tag keys and values. ||
     67||||= **Tag checker (MapCSS based)** =|||||| different kind of checks based on MapCSS, including [wikitr:/Rules external rules]. See [#TagCheckerRules Tag checker rules] tab and detailed description [#MapCssBasedTests below]. ||
    5668||||
    5769||||= **Multipolygon** =|||||| multipolygons are valid. ||
     
    6274||||= **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. ||
    6375||||
    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] ||
     76||||= **Opening hours syntax** =|| correct usage of the opening hours syntax. \\ ''Preference:'' \\ Strict mode: `validator.OpeningHourTest.strict` ''(default: false)'' |||| [osmwiki:Key:opening_hours#Examples common OH examples] [osmwiki:Key:opening_hours#Common_mistakes common mistakes] [osmwiki:Key:opening_hours/specification complete OH spec] ||
    6577||||
    6678||||= **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] ||
     
    7284||||
    7385||||= **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 ||
     86||  [[JOSMImage(data/other)]]  || Building with an almost square angle || || If the angle should be a right angle, orthogonalize the way. || yes, #20038 ||
    7587||||
    7688||||= **Self-intersecting ways** =|||||| ways that contain some of their nodes more than once. ||
     
    7890||||
    7991||||= **Similarly named ways** =|||||| ways with similar names that may have been misspelled. ||
    80 ||  [[JOSMImage(data/warning)]]  || Similar named ways || ways with very similar names, possibly a typo || ||
     92||  [[JOSMImage(data/warning)]]  || Similar named ways || ways with very similar names, possibly a typo || || ||
    8193||||
    8294||||= **Tag checker** =|||||| errors in tag keys and values. ||
     95||==||= **Check property values** =|||||| misspelled property values. Uses the loaded [wikitr:/TaggingPresets tagging presets] files for checking ||
     96||  [[JOSMImage(data/other)]]  || Presets do not contain property key || the property key is in no preset || Check the key ''or'' \\ Load the preset ||  no  ||
     97||  [[JOSMImage(data/other)]]  || Presets do not contain property value || the property value is in no preset || Check the value ''or'' \\ Load the preset ||  no  ||
     98||==||= **Check for fixme.** =|||||| any property with the word "fixme" inside ||
     99||  [[JOSMImage(data/other)]]  || fixme || || Check if you can fix the issue or if it was fixed already. If so, remove the "fixme", otherwise do nothing. ||  no  ||
    83100||||
    84101||||= **Turn-restrictions** =|||||| [osmwiki:Relation:restriction turn-restrictions] are valid. ||
    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. || || ||
    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. || || ||
    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`. || || ||
    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. || || ||
     102||  [[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. || ||  no  ||
     103||  [[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. || ||  no  ||
     104||  [[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`. || ||  no  ||
     105||  [[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.) ||  no  ||
     106||  [[JOSMImage(data/warning)]]  || Unknown role || the role for members of a turn restriction relation is either `from`, `to` (ways) or `via` (nodes and ways) || ||  no  ||
     107||  [[JOSMImage(data/warning)]]  || Unknown member type || only nodes and ways (and not relations) are members of a turn restriction relation. || ||  no  ||
    91108||  [[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. || ||
    92109||||
    93110||||= **Unclosed Ways** =|||||| ways which should be circular are closed. ||
    94 ||  [[JOSMImage(data/warning)]]  || Unclosed ways || way types, which should be closed really are closed || Close unclosed ways || ||
     111||  [[JOSMImage(data/warning)]]  || Unclosed ways || way types, which should be closed really are closed || Close unclosed ways ||  no  ||
    95112||||
    96113||||= **Unconnected highways / natural lands and landuses / power ways / railways / waterways** |||||| a way has an endpoint very near to another way. ||
    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 || ||
     114||  [[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 ||  no  ||
    98115||||
    99116||||= **Untagged and unconnected nodes** =|||||| untagged nodes that are not part of any way. ||
     
    102119||||= **Untagged, empty and one node ways** =|||||| untagged, empty and one node ways. ||
    103120||  [[JOSMImage(data/error)]]  || Incomplete ways || ways with zero or only one node || Removes the way || ||
    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 || ||
     121||  [[JOSMImage(data/warning)]]  || Untagged ways || untagged ways || 1. describe them correctly if you know this objects or \\ 2. leave them until somebody describes them ||  no  ||
    105122||||
    106123||||= **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. ||
     124||  [[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. ||  no  ||
    108125||||
    109126||||= **Wrongly Ordered Ways** =|||||| direction of water, land and coastline ways.  ||
     
    111128||||= **Uncategorized** =|||||| Descriptions that need to be checked, updated and added to one of the categories above. ||
    112129|| || 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 || ||
    113 || || Check property values || misspelled property values. Uses the [wikitr:/TaggingPresets tagging presets] file for checking || ||
    114130|| || Empty properties || properties with empty values || || ||
    115 ||  [[JOSMImage(data/other)]]  || FIXMES || any property with the word "FIXME" inside || || ||
    116131||  [[JOSMImage(data/other)]]  || Key 'x' invalid. - ... || illegal key combinations, names and similar issues || ||
    117132||  [[JOSMImage(data/other)]]  || Nodes with the same name || two nodes have equal name || || ||
    118 ||  [[JOSMImage(data/other)]]  || Overlapping areas || areas overlap || Remove overlapping only when really wrong. || ||
    119133||  [[JOSMImage(data/other)]]  || Unknown property value || proper use of tags || If it is your new tag, it is good idea document it at wiki [[osmwiki:Any tags you like]] || ||
    120134
    121135
    122136== Tag checker rules ==#TagCheckerRules
     137This tab consists of two list and some buttons. On the left side all available rules are listed and on the right side all downloaded and local rules.
     138
     139=== Buttons ===
     140||= **Icon** =||= **Description **||
     141=== Available rules (left) ===
     142=== Active rules (right) ===
     143 
     144=== MapCSS-based tests ===#MapCssBasedTests
     145||= **Type** =||= **Message** =||= **''What is checked''** =||= **Additional help** =||= **Autofix** =||
     146||||
     147||||= **Addresses** =|||||| ||
     148||||
     149||||= **Tag combinations** =|||||| ||
     150||||
     151||||= **Deprecated features** =|||||| ||
     152||||
     153||||= **Geometry** =|||||| ||
     154||  [[JOSMImage(data/other)]]  || Overlapping areas || areas overlap || Remove overlapping only when really wrong. ||  no  ||
     155||||
     156||||= **Highways** =|||||| ||
     157||  [[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] ||  no  ||
     158||||
     159||||= **Multiple values** =|||||| ||
     160||||
     161||||= **Numeric values** =|||||| ||
     162||||
     163||||= **Religion** =|||||| ||
     164||||
     165||||= **Relations** =|||||| ||
     166||||
     167||||= **Territories** =|||||| ||
     168||||
     169||||= **Unnecessary tags** =|||||| ||
     170||||
     171||||= **Wikipedia** =|||||| ||
    123172
    124173
    125 === See also ===
     174== See also ==
    126175* [[JOSMImage(dialogs/validator)]] [wikitr:/Help/Dialog/Validator Validator panel]
    127176* [wikitr:/Rules JOSM Validator Custom rules from "Tag Checker Rules"]