Changes between Version 48 and Version 49 of Help/Preferences/Validator
- Timestamp:
- 2020-11-10T14:53:34+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Preferences/Validator
v48 v49 7 7 An OSM data validator that checks for common errors made by users and editor programs. 8 8 9 == Tests ==#Tests 9 10 Following four general settings are available: 10 11 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)'' \\ 12 13 ''Advance preference: `validator.ignore`'' 13 14 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)'' \\ 15 16 ''Advance preference: `validator.layer`'' 16 17 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)'' \\ 18 19 ''Advance preference: `validator.other`'' 19 20 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)'' \\ 21 22 ''Advance preference: `validator.otherUpload`'' 22 23 23 24 All 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. 24 25 25 == Tests ==#Tests26 26 By default, all error and warning tests are active. 27 27 … … 73 73 |||| 74 74 ||||= **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 || 78 78 |||| 79 79 ||||= **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. || 80 80 |||| 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)'' || 82 83 |||| 83 84 ||||= **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] || … … 111 112 || [[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 || 112 113 || [[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 || 114 115 |||| 115 116 ||||= **Unclosed Ways** =|||||| ways which should be circular are closed. || … … 142 143 This 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. 143 144 144 === Buttons ===145 ||= **Icon** =||= **Description **||146 145 === Available rules (left) === 146 There 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 147 148 === Active rules (right) === 148 149 Rules can be enabled/disable with the check box in front of each entry. \\ 150 The 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 154 The [[JOSMImage(preferences/reset,link=,24,middle)]] reset button at the bottom resets the ''active rules'' to default. 155 149 156 === MapCSS-based tests ===#MapCssBasedTests 150 157 ||= **Type** =||= **Message** =||= **''What is checked''** =||= **Additional help** =||= **Autofix** =||