Changes between Version 48 and Version 49 of Help/Preferences/Validator


Ignore:
Timestamp:
2020-11-10T14:53:34+01:00 (5 years ago)
Author:
skyper
Comment:

description of "tag checker rules" tab; minor adds

Legend:

Unmodified
Added
Removed
Modified
  • Help/Preferences/Validator

    v48 v49  
    77An OSM data validator that checks for common errors made by users and editor programs.
    88
     9== Tests ==#Tests
    910Following four general settings are available:
    1011 Use ignore list::
    11   enable/disable the use of the ignore list (default: enabled) \\
     12  enable/disable the use of the ignore list ''(default: enabled)'' \\
    1213  ''Advance preference: `validator.ignore`''
    1314 Use error layer::
    14   enable/disable the creation of a validator layer highlighting the problematic objects (default: enabled) \\
     15  enable/disable the creation of a validator layer highlighting the problematic objects ''(default: enabled)'' \\
    1516  ''Advance preference: `validator.layer`''
    1617 Show informational level::
    17   enable/disable tests on informational level know as "Other" (default: disabled) \\
     18  enable/disable tests on informational level know as "Other" ''(default: disabled)'' \\
    1819  ''Advance preference: `validator.other`''
    1920 Show informational level on upload::
    20   enable/disable tests on informational level on upload (default: disabled) \\
     21  enable/disable tests on informational level on upload ''(default: disabled)'' \\
    2122  ''Advance preference: `validator.otherUpload`''
    2223
    2324All 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.
    2425
    25 == Tests ==#Tests
    2626By default, all error and warning tests are active.
    2727
     
    7373||||
    7474||||= **Multipolygon** =|||||| multipolygons are valid. ||
    75 ||  [[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 || ||
    76 ||  [[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 || ||
    77 ||  [[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. || ||
     75||  [[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 ||  no  ||
     76||  [[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 ||  no  ||
     77||  [[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. ||  no  ||
    7878||||
    7979||||= **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. ||
    8080||||
    81 ||||= **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] ||
     81||||= **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] ||
     82|| ||= **Enable strict mode.** =||||||  even stricter rules \\ \\ ''Preference:'' \\ `validator.OpeningHourTest.strict` ''(default: false)'' ||
    8283||||
    8384||||= **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] ||
     
    111112||  [[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  ||
    112113||  [[JOSMImage(data/warning)]]  || Unknown member type || only nodes and ways (and not relations) are members of a turn restriction relation. || ||  no  ||
    113 ||  [[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. || ||
     114||  [[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. ||  no  ||
    114115||||
    115116||||= **Unclosed Ways** =|||||| ways which should be circular are closed. ||
     
    142143This 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.
    143144
    144 === Buttons ===
    145 ||= **Icon** =||= **Description **||
    146145=== Available rules (left) ===
     146There is a search text box on top and below first the internal MapCSS rules and then the [wikitr:/Rules external ones] are listed. Some more info about each item will be displayed in a tooltip when hovering the mouse over it. Items which are already on the ''Active rules'' list on the right side are highlighted with a different background color which changes if the item is enabled/disabled on the right side. To get items from the left to the right, select them and use the [[JOSMImage(preferences/activate-right)]] blue, right arrow head button between the lists. With the [[JOSMImage(dialogs/refresh)]] button at the bottom reloads the ''available rules'' list from JOSM ([/rules file]).
     147
    147148=== Active rules (right) ===
    148  
     149Rules can be enabled/disable with the check box in front of each entry. \\
     150The three buttons on the right allow to:
     151* [[JOSMImage(dialogs/add)]] manually add rules from url or local file
     152* [[JOSMImage(dialogs/edit)]] modify selected entry
     153* [[JOSMImage(dialogs/delete)]] delete items from the list
     154The [[JOSMImage(preferences/reset,link=,24,middle)]] reset button at the bottom resets the ''active rules'' to default.
     155
    149156=== MapCSS-based tests ===#MapCssBasedTests
    150157||= **Type** =||= **Message** =||= **''What is checked''** =||= **Additional help** =||= **Autofix** =||