Debian Codegraph @

nodist/data/tagchecker.cfg

raw
1 # JOSM TagChecker validator file
2
3 # Format:
4 # Each line specifies a certain error to be reported
5 # <data type> : messagetype : <key><expression><value>
6 # Lines starting with a # are considered as comments.
7 #
8 # Data type can be:
9 # node - a node point
10 # way - a way
11 # relation - a relation
12 # * - all data types
13 #
14 # Message type can be:
15 # E - an error
16 # W - a warning
17 # I - an low priority informational warning
18 #
19 # Key and value are expressions describing certain keys and values of these keys.
20 # Regular expressions are supported. In this case the expressions starts and
21 # ends with a / sign. If an 'i' is appended, the regular expression is
22 # case insensitive. For instance, /foo|bar/i
23 #
24 # The * sign indicates any string.
25 # The texts BOOLEAN_TRUE and BOOLEAN_FALSE in the value part indicate a special
26 # handling for boolean values (yes, true, 0, false, no, ...).
27 #
28 # Expression can be:
29 # != - the key/value combination does not match
30 # == - the key/value combination does match
31 #
32 # To have more complicated expressions, multiple elements can be grouped together
33 # with an logical and (&&).
34 #
35 # The comment at the end of a rule is displayed in validator description
36 #
37 # Empty lines and space signs are ignored
38
39 # The following could replace unnamed way check. Still at the moment we keep it as it is
40 #way : W : junction == roundabout && highway == /motorway|trunk|primary|secondary|tertiary|residential|pedestrian/ && /name|ref|(name:.*)|(.*_name)|(.*_ref)/ != * # Unnamed junction
41 #way : W : highway == /motorway|trunk|primary|secondary|tertiary|residential|pedestrian/ && /name|ref|(name:.*)|(.*_name)|(.*_ref)/ != * # Unnamed
42
43 # see #5844, #6760
44 #way : W : oneway != BOOLEAN_FALSE && /.*:(backward|forward)/ == * # oneway combined with *:backward/forward
45
46
47 # all former checks are now located in resources/data/validator/*mapcss :-)