1 | | [[TranslatedPages]] |
2 | | |
3 | | = Preferences > Validator Settings = |
4 | | |
5 | | In this preference settings, you can activate only the tests you need. By default, all error and warning tests are active. |
6 | | |
7 | | These are the validations performed by the validator: |
8 | | |
9 | | || || Validation || Description || How to fix || |
10 | | || [[Image(source:/trunk/images/data/error.png)]] ||Duplicated nodes||Checks that there are no nodes in the very same location||Merge the nodes into only one, adding the properties from all nodes to the merged one|| |
11 | | || [[Image(source:/trunk/images/data/error.png)]] ||Duplicated way nodes||Checks that 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.|| |
12 | | || [[Image(source:/trunk/images/data/error.png)]] ||Reversed coastline: land not on left side||Checks for coastlines that are not counter-clockwise or that are otherwise misplaced (coastline misused as inland lake)||Reverse coastline|| |
13 | | || [[Image(source:/trunk/images/data/error.png)]] ||Unconnected coastline: coastline ways do not form closed loops||Checks for coastlines ways that are not connected to the end of other coastline ways|| || |
14 | | || [[Image(source:/trunk/images/data/error.png)]] ||Unordered coastline: coastline ways are not connected start-to-end||Checks for 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|| |
15 | | ||[[Image(source:/trunk/images/data/error.png)]]||Incomplete ways||Checks for ways with zero or only one node||Removes the way|| |
16 | | || ||Check property keys||Checks misspelled property keys. See the [source:/trunk/data/words.cfg words.cfg] for file of misspelled property keys||Replace wrong key with right one|| |
17 | | || ||Check property values||Checks misspelled property values. Uses the [TaggingPresets tagging presets] file for checking||Correct spelling|| |
18 | | || ||Empty properties||Checks for properties with empty values||Remove the empty properties|| |
19 | | || [[Image(source:/trunk/images/data/warning.png)]] ||Crossing ways||Checks for ways (with highway/railway/waterway tags) that crosses in same layer with no crossing node||Add appropriate layer (and possibly bridge or tunnel)|| |
20 | | || ||Unordered ways||Checks that all segments in a way are properly ordered||Reorder the way|| |
21 | | || [[Image(source:/trunk/images/data/warning.png)]] ||Overlapping (high)ways||Checks for two (high)ways that share the same nodes||Remove the double (high)way|| |
22 | | || [[Image(source:/trunk/images/data/warning.png)]] ||Self-intersecting ways||Check if a way crosses itself||Remove the self-crossing, remove overlapping parts or split way|| |
23 | | || [[Image(source:/trunk/images/data/warning.png)]] ||Similar named ways||Checks for ways with very similar names, possibly a typo||Fix names or ignore false warning|| |
24 | | || [[Image(source:/trunk/images/data/warning.png)]] ||Unclosed ways||Checks that way types, which should be closed really are closed||Close unclosed ways|| |
25 | | || [[Image(source:/trunk/images/data/warning.png)]] ||Untagged ways||Checks for untagged ways||Either describe them correctly or remove ways when useless|| |
26 | | || [[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 || |
27 | | || [[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|| |
28 | | || [[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 |
29 | | || [[Image(source:/trunk/images/data/other.png)]] ||FIXMES||Checks for any property with the word "FIXME" inside||Resolve the mentioned issue|| |
30 | | || [[Image(source:/trunk/images/data/other.png)]] ||Highway without a reference||Checks if there is a [http://wiki.openstreetmap.org/wiki/Key:ref ref tag] for highways that are tagged tertiary. Not always required, see for instance [http://wiki.openstreetmap.org/wiki/Map_Features#Highway Highway]||Add ref property or ignore |
31 | | || [[Image(source:/trunk/images/data/other.png)]] ||Key 'x' invalid. - ...||Check for illegal key combinations, names and similar issues||Fix the issue when possible|| |
32 | | || [[Image(source:/trunk/images/data/other.png)]] ||Nodes with the same name||Check if two nodes have equal name||Join nodes when possible, ignore otherwise|| |
33 | | || [[Image(source:/trunk/images/data/other.png)]] ||Overlapping areas||Checks if areas overlap||Remove overlapping only when really wrong.|| |
34 | | || [[Image(source:/trunk/images/data/other.png)]] ||Unknown propery value||Checks for proper use of tags||Remove or change incorrectly used tag|| |
35 | | || [[Image(source:/trunk/images/data/other.png)]] ||Untagged and unconnected nodes||Checks rogue nodes||Delete unused nodes when they have no further tags|| |
36 | | || [[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.|| |
| 1 | [[TranslatedPages(outdated=This page is incomplete. Lot's of tests not described. Screenshot for rules is missing.)]] |
| 2 | [[PageOutline(2-4,Table of Content)]] |
| 3 | |
| 4 | = Preferences > Data Validator = |
| 5 | [[JOSMImage(preferences/validator,48,link=,middle,margin-right=20,margin-bottom=10)]] **An OSM data validator that checks for common errors made by users and editor programs.** |
| 6 | |
| 7 | == Tests ==#Tests |
| 8 | Following four general settings are available: |
| 9 | Use ignore list:: |
| 10 | enable/disable the use of the ignore list ''(default: enabled)'' \\ |
| 11 | ''Advance preference: `validator.ignore`'' |
| 12 | Use error layer:: |
| 13 | enable/disable the creation of a validator layer highlighting the problematic objects ''(default: enabled)'' \\ |
| 14 | ''Advance preference: `validator.layer`'' |
| 15 | Show informational level:: |
| 16 | enable/disable tests on informational level know as "Other" ''(default: disabled)'' \\ |
| 17 | ''Advance preference: `validator.other`'' |
| 18 | Show informational level on upload:: |
| 19 | enable/disable tests on informational level on upload ''(default: disabled)'' \\ |
| 20 | ''Advance preference: `validator.otherUpload`'' |
| 21 | |
| 22 | 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. |
| 23 | |
| 24 | By default, all error and warning tests are active. |
| 25 | |
| 26 | 1. If you are a OSM newbie and encountered validation error about objects you haven't touched, please ignore these messages for now. |
| 27 | 1. Validator can be wrong or incomplete about all tagging practices. Don't fix errors when you aren't sure something is really wrong. |
| 28 | 1. First, refer to [wikitr:/Help/Dialog/Validator Validator panel] - how to use validator |
| 29 | |
| 30 | [[Image(PreferencesValidatorTests.png,link=,600)]] |
| 31 | |
| 32 | The fourth column contains also **(video)** explanations. The table is incomplete. |
| 33 | |
| 34 | [=#TestsTable] |
| 35 | ||= **Type** =||= **Message** =||= **''What is checked''** =||= **Additional help** =||= **Autofix** =|| |
| 36 | |||| |
| 37 | ||||= **Addresses** =|||||| errors in [[osmwiki:Addresses]] and [[osmwiki:Relation:associatedStreet]]. \\ \\ ''Advanced preferences:'' \\ `validator.addresses.max_duplicate_distance` ''(default: `200.0`)'' \\ `validator.addresses.max_street_distance` ''(default: `200.0`)'' || |
| 38 | || [[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 || |
| 39 | || [[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 || |
| 40 | || [[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 || |
| 41 | || [[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 || |
| 42 | || [[JOSMImage(data/warning)]] || Multiple associatedStreet relations || an object is in more than one `associatedStreet` relation. || || no || |
| 43 | |||| |
| 44 | ||||= **API Capabilities** =|||||| errors against API capabilities || |
| 45 | || [[JOSMImage(data/error)]] || Way contains more than … nodes. It should be replaced by a multipolygon || || || || |
| 46 | || [[JOSMImage(data/error)]] || Way contains more than … nodes. It should be split or simplified || || || || |
| 47 | |||| |
| 48 | ||||= **Barriers and entrances** =|||||| errors in [[osmwiki:Barriers]] and [[osmwiki:Key:entrance]]. || |
| 49 | |||| |
| 50 | ||||= **Coastlines** =|||||| [[osmwiki:Coastline]] are correct. || |
| 51 | || [[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 || || |
| 52 | || [[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 || || || |
| 53 | || [[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 || || |
| 54 | |||| |
| 55 | ||||= **Conditional Keys** =|| usage of `*:conditional` tags. |||| Imprecise rules covered at [osmwiki:Conditional_restrictions osm wiki page "Conditional restrictions"] || |
| 56 | |||| |
| 57 | ||||= **Connectivity Relations** =|||||| Validates connectivity relations || |
| 58 | || [[JOSMImage(data/error)]] || Connectivity tag missing comma between optional and non-optional values || || || no || |
| 59 | || [[JOSMImage(data/error)]] || Connectivity tag contains unusual data || || || no || |
| 60 | || [[JOSMImage(data/warning)]] || Connectivity relation without connectivity tag || || || no || |
| 61 | || [[JOSMImage(data/warning)]] || Inconsistent lane numbering between relation and member tags || || || no || |
| 62 | || [[JOSMImage(data/warning)]] || Multiple `via` roles only allowed with ways || || || no || |
| 63 | || [[JOSMImage(data/warning)]] || Relation member is missing a `lanes` or `*:lanes` tag || || || no || |
| 64 | || [[JOSMImage(data/warning)]] || Relation should not contain mixed `via` ways and nodes || || || no || |
| 65 | || [[JOSMImage(data/warning)]] || This connectivity may already be implied || || || no || |
| 66 | |||| |
| 67 | ||||= **Crossing barriers / boundaries / ways** =|||||| || |
| 68 | || [[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 || |
| 69 | || [[JOSMImage(data/warning)]] || Crossing barrier/building || barrier crossing a building in same layer with no crossing node || || no || |
| 70 | |||| |
| 71 | ||||= **Cycle detector** =|||||| Detects cycles (loops) in [[https://en.wikipedia.org/wiki/Drainage_system_(geomorphology)|drainage systems]]. \\ \\ ''Advanced preference:'' \\ `validator.CycleDetector.directionalWaterways`: directional waterway values ''(default: `["river", "stream", "tidal_channel", "drain", "ditch", "fish_pass"]`)'' || |
| 72 | || [[JOSMImage(data/error)]] || Cycle in directional waterway network || || || no || |
| 73 | |||| |
| 74 | ||||= **Duplicated nodes** =|||||| ''Advanced preference:'' \\ `validator.duplicatenodes.precision`: rounding precision in degree ''(default: `1e-6` since r17612, `1-e7` before)'' || |
| 75 | || [[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 || || |
| 76 | |||| |
| 77 | ||||= **Duplicated relations** =|||||| no relations with same tags and same members with same roles. || |
| 78 | |||| |
| 79 | ||||= **Duplicated ways** =|||||| no ways with same node coordinates and optionally also same tags. || |
| 80 | |||| |
| 81 | ||||= **Duplicated way nodes** =|||||| ways with identical consecutive nodes. || |
| 82 | || [[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. || || |
| 83 | |||| |
| 84 | ||||= **Highways** =|||||| semantic checks on highways. || |
| 85 | |||| |
| 86 | ||||= **Internet tags** =|||||| errors in internet-related tags || |
| 87 | |||| |
| 88 | ||||= **Lane tags** =|||||| `lanes:*` tags, see [osmwiki:Lanes] || |
| 89 | |||| |
| 90 | ||||= **Long segments** =|||||| long way segments, which are usually errors \\ \\ ''Advanced preference:'' `validator.maximum.segment.length`: maximum segment length in meters ''(default: `15,000`)'' || |
| 91 | || [[JOSMImage(data/warning)]] || Long segments - Very long segment of … kilometers || way segment length above certain configured value || For real world objects it makes sence to add some way nodes. || no || |
| 92 | |||| |
| 93 | ||||= **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]. || |
| 94 | |||| |
| 95 | ||||= **Multipolygon** =|||||| multipolygons are valid. || |
| 96 | || [[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 || |
| 97 | || [[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 || |
| 98 | || [[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 || |
| 99 | |||| |
| 100 | ||||= **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. || |
| 101 | |||| |
| 102 | ||||= **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] || |
| 103 | || ||= **Enable strict mode.** =|||||| even stricter rules, disabled by default \\ \\ ''Preference:'' \\ `validator.OpeningHourTest.strict` ''(default: `false`)'' || |
| 104 | |||| |
| 105 | ||||= **Overlapping ways** =|| a connection between two nodes is not used by more than one way. \\ \\ ''Advanced preferences:'' \\ `overlapping-ways.ignored-keys` - list of ignored keys \\ `overlapping-ways.ignore-layer` ''(default: `false`)'' \\ `overlapping-ways.only-known-linear` ''(default: `true`)'' |||| [https://commons.wikimedia.org/wiki/File:JOSM_9900_en_validator_message_%22Overlapping_ways%22_with_shortcuts.ogv (video) Using selection, split and middle mouse] || |
| 106 | || [[JOSMImage(data/error)]] || Overlapping high-/rail-/waterways || two ways with `highway=*`, `railway=*` or `waterway=*` that share the same nodes || || no || |
| 107 | || [[JOSMImage(data/error)]] || Way contains segment twice || || || no || |
| 108 | || [[JOSMImage(data/warning)]] || High-/Rail-/Waterway shares segment with linear way || a way with `highway=*`, `railway=*` or `waterway=*` sharing consecutive nodes with another open way || || no || |
| 109 | || [[JOSMImage(data/other)]] || High-/Rail-/Waterway shares segment with other way || a way with `highway=*`, `railway=*` or `waterway=*` sharing consecutive nodes with a closed way or multipolygon || Depending on the mapping style and the tags of the involved area these overlaps are ok or not. It definitively makes selecting the objects and distinguishing between them harder || no || |
| 110 | || [[JOSMImage(data/other)]] || Ways share segment || || || no || |
| 111 | |||| |
| 112 | ||||= **Power lines** =|||||| ''Advanced preferences:'' \\ `validator.PowerLines.hilly_compensation` ''(default: `0.2`)'' \\ `validator.PowerLines.hilly_threshold` ''(default: `4.0`)'' || |
| 113 | || [[JOSMImage(data/warning)]] || node without power=* || nodes in power lines/minor_lines that do not have a power=tower/pole/portal tag || || no || |
| 114 | || [[JOSMImage(data/warning)]] || Mixed reference numbering || node ref numbering continuity on power supporting features (pole, tower etc.) along the line || ways are highlighted || no || |
| 115 | || [[JOSMImage(data/warning)]] || Reference numbering don't match majority of way's nodes || node ref numbering continuity on power supporting features (pole, tower etc.) along the line || nodes are highlighted || no || |
| 116 | || [[JOSMImage(data/warning)]] || Node connects a power line or cable with an object which is not related to the power infrastructure || || || no || |
| 117 | || [[JOSMImage(data/warning)]] || Possibly missing line support node within power line || ways where are unusually long segments without line support feature || when water data is also in the dataset, the intersecting length is discarded, e.g. line over a river || no || |
| 118 | || [[JOSMImage(data/warning)]] || Possibly wrong power line type used || ways where the line type is possibly misused || || no || |
| 119 | |||| |
| 120 | ||||= **Public Transport Route** =|||||| errors in [osmwiki:Public_Transport#Service_routes public transport route relations] |
| 121 | |||| |
| 122 | ||||= **Relation checker** =|||||| errors in relations. || |
| 123 | |||| |
| 124 | ||||= **Almost right angle buildings** =|||||| buildings with an almost right angle. \\ \\ ''Advanced preferences:'' \\ `validator.RightAngleBuilding.maximumDelta` ''(default: `10.0`)'' \\ `validator.RightAngleBuilding.minimumDelta` ''(default: `1.0`)'' || |
| 125 | || [[JOSMImage(data/other)]] || Building with an almost square angle || || If the angle should be a right angle, orthogonalize the way. || yes, #20038 || |
| 126 | |||| |
| 127 | ||||= **Self-intersecting ways** =|||||| ways that contain some of their nodes more than once. || |
| 128 | || [[JOSMImage(data/warning)]] || Self-intersecting ways || a way crosses itself || Remove the self-crossing, remove overlapping parts or split way || || |
| 129 | |||| |
| 130 | ||||= **Sharp angles** =|||||| sharp angles on roads \\ \\ ''Advanced preferences:'' \\ `validator.sharpangles.maxlength` ''(default: `10.0`)'' \\ `validator.sharpangles.maxangle` ''(default: `45.0`)'' \\ `validator.sharpangles.ignorerailway` \\ `validator.sharpangles.ignorehighway` || |
| 131 | |||| |
| 132 | ||||= **Similarly named ways** =|||||| ways with similar names that may have been misspelled. || |
| 133 | || [[JOSMImage(data/warning)]] || Similar named ways || ways with very similar names, possibly a typo || || || |
| 134 | |||| |
| 135 | ||||= **Tag checker** =|||||| errors in tag keys and values. || |
| 136 | || ||= **Check property values** =|||||| misspelled property values. Uses the loaded [wikitr:/TaggingPresets tagging presets] files for checking || |
| 137 | || [[JOSMImage(data/other)]] || Presets do not contain property key || the property key is in no preset || Check the key ''or'' \\ Load the preset || no || |
| 138 | || [[JOSMImage(data/other)]] || Presets do not contain property value || the property value is in no preset || Check the value ''or'' \\ Load the preset || no || |
| 139 | || ||= **Check for fixme.** =|||||| any property with the word "fixme" inside || |
| 140 | || [[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 || |
| 141 | |||| |
| 142 | ||||= **Turn-restrictions** =|||||| [osmwiki:Relation:restriction turn-restrictions] are valid. || |
| 143 | || [[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 || |
| 144 | || [[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 || |
| 145 | || [[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 || |
| 146 | || [[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 || |
| 147 | || [[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 || |
| 148 | || [[JOSMImage(data/warning)]] || Unknown member type || only nodes and ways (and not relations) are members of a turn restriction relation. || || no || |
| 149 | || [[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 || |
| 150 | |||| |
| 151 | ||||= **Unclosed Ways** =|||||| ways which should be circular are closed. || |
| 152 | || [[JOSMImage(data/warning)]] || Unclosed ways || way types, which should be closed really are closed || Close unclosed ways || no || |
| 153 | |||| |
| 154 | ||||= **Unconnected highways / natural lands and landuses / power ways / railways / waterways** |||||| a way has an endpoint very near to another way. \\ \\ ''Advanced preferences:'' \\ `validator.UnconnectedWays.node_way_distance` ''(default: `10.0`)'' \\ `validator.UnconnectedWays.node_way_distance_railway` ''(default: `1.0`)'' \\ `validator.UnconnectedWays.way_way_distance` ''(default: `0.0`)'' || |
| 155 | || [[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 add `noexit=yes` tag to prevent further warnings || no || |
| 156 | || [[JOSMImage(data/warning)]] || Way end node near other way || || || no || |
| 157 | || [[JOSMImage(data/other)]] || Connected way end node near other way || || || no || |
| 158 | || [[JOSMImage(data/other)]] || Way node near other way || || || no || |
| 159 | |||| |
| 160 | ||||= **Untagged and unconnected nodes** =|||||| untagged nodes that are not part of any way. || |
| 161 | || [[JOSMImage(data/warning)]] || Unconnected nodes without physical tags - \\ No tags \\ Has key `created_by` or `converted_by` \\ Has key `source` \\ Has key `watch` || nodes not part of any way without tags or only `created_by`, `converted_by`, `source` or `watch` || 1. If the node was created by yourself, you are to decide if to remove it otherwise \\ 2. [wikitr:/Help/Action/DownloadParentWaysAndRelation Download parent relations] and contact mappers who added these nodes in unclear cases || yes || |
| 162 | || [[JOSMImage(data/warning)]] || Unconnected nodes without physical tags - \\ Has key `note` or `comment` or `description` \\ Has tag containing `fixme` || nodes not part of any way with only `note`, `comment`, `description` or `fixme` || 1. If the node was created by yourself, you are to decide if to remove it otherwise \\ 2. [wikitr:/Help/Action/DownloadParentWaysAndRelation Download parent relations] and contact mappers who added these nodes in unclear cases || no || |
| 163 | |||| |
| 164 | ||||= **Untagged, empty and one node ways** =|||||| untagged, empty and one node ways. || |
| 165 | || [[JOSMImage(data/error)]] || Empty ways \\ \\ One node ways || Invalid ways with zero or only one node || 1. Look at the [wikitr:/Help/Action/ObjectHistory object's history] \\ 2. Remove the way (autofix) || yes || |
| 166 | || [[JOSMImage(data/warning)]] || Unnamed ways || highway without `name` or `ref` || Add `name` or `ref` if known or `noname=yes` if sure that the way does not have a name || no || |
| 167 | || [[JOSMImage(data/warning)]] || Untagged ways (commented!) || ways without any tag (or only with `comment`, `description`, `fixme` or `note`) and without membership in a relation || 0. if working with incomplete data, [wikitr:/Help/Action/DownloadParentWaysAndRelation download parent relations] \\ 1. describe them correctly if you know this objects or \\ 2. leave them until somebody describes them || no || |
| 168 | || [[JOSMImage(data/other)]] || Unnamed junction || highway with `junction` and without `name` or `ref` || Add `name` or `ref` if known or `noname=yes` if sure that the junction does not have a name || no || |
| 169 | |||| |
| 170 | ||||= **Way connected to Area** =|||||| ways connected to areas. || |
| 171 | || [[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 || |
| 172 | |||| |
| 173 | ||||= **Wrongly Ordered Ways** =|||||| direction of water, land and coastline ways. || |
| 174 | || [[JOSMImage(data/warning)]] || Reversed coastline: land not on left side \\ \\ Reversed land: land not on left side || wrong way direction of `natural=coastline` \\ \\ wrong way direction of `natural=land` || [wikitr:/Help/Action/ReverseWays Reverse way] direction || no || |
| 175 | |||| |
| 176 | ||||= **''Uncategorized''** =|||||| Descriptions that need to be checked, updated and added to one of the categories above or MapCSS below || |
| 177 | || || 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 || || |
| 178 | || || Empty properties || properties with empty values || || || |
| 179 | || [[JOSMImage(data/other)]] || Key 'x' invalid. - ... || illegal key combinations, names and similar issues || || |
| 180 | || [[JOSMImage(data/other)]] || Nodes with the same name || two nodes have equal name || || || |
| 181 | || [[JOSMImage(data/other)]] || Unknown property value || proper use of tags || If it is your new tag, it is a good idea to document it at the OSM-wiki ([osmwiki:"Any tags you like"]) || no || |
| 182 | |
| 183 | |
| 184 | == Tag checker rules ==#TagCheckerRules |
| 185 | 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. |
| 186 | |
| 187 | === Available rules (left) === |
| 188 | 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]). |
| 189 | |
| 190 | === Active rules (right) === |
| 191 | Rules can be enabled/disable with the check box in front of each entry. \\ |
| 192 | The three buttons on the right allow to: |
| 193 | * [[JOSMImage(dialogs/add)]] manually add rules from url or local file |
| 194 | * [[JOSMImage(dialogs/edit)]] modify selected entry |
| 195 | * [[JOSMImage(dialogs/delete)]] delete items from the list |
| 196 | The [[JOSMImage(preferences/reset,link=,24,middle)]] reset button at the bottom resets the ''active rules'' to default, removing any manually added entry. |
| 197 | |
| 198 | === MapCSS-based tests ===#MapCssBasedTests |
| 199 | ||= **Type** =||= **Message** =||= **''What is checked''** =||= **Additional help** =||= **Autofix** =|| |
| 200 | |||| |
| 201 | ||||= **Addresses** =|||||| || |
| 202 | |||| |
| 203 | ||||= **Tag combinations** =|||||| || |
| 204 | |||| |
| 205 | ||||= **Deprecated features** =|||||| || |
| 206 | |||| |
| 207 | ||||= **Geometry** =|||||| || |
| 208 | || [[JOSMImage(data/other)]] || Overlapping areas || areas overlap || Remove overlapping only when really wrong. || no || |
| 209 | |||| |
| 210 | ||||= **Highways** =|||||| || |
| 211 | || [[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 || |
| 212 | |||| |
| 213 | ||||= **Multiple values** =|||||| || |
| 214 | |||| |
| 215 | ||||= **Numeric values** =|||||| || |
| 216 | |||| |
| 217 | ||||= **Religion** =|||||| || |
| 218 | |||| |
| 219 | ||||= **Relations** =|||||| || |
| 220 | |||| |
| 221 | ||||= **Territories** =|||||| || |
| 222 | |||| |
| 223 | ||||= **Unnecessary tags** =|||||| || |
| 224 | |||| |
| 225 | ||||= **Wikipedia** =|||||| || |
| 226 | |
| 227 | == Advanced Preferences == |
| 228 | More advanced preferences not described, yet. |
| 229 | * `validator.auto_reload_local_rules` - whether to auto-reload local rules after file changes |
| 230 | * `validator.autozoom` - whether to [wikitr:/Help/Action/ZoomToProblem Zoom to problem], automatically |
| 231 | * `validator.check_assert_local_rules` - whether to enable MapCSS assertions for local rules |
| 232 | * `validator.ignorelist` - the ignore list |
| 233 | * `validator.ignorelist.version` - format version of the ignore list |