Ticket #5844: 5844.patch

File 5844.patch, 1.4 KB (added by simon04, 13 years ago)
  • data/tagchecker.cfg

     
    33# Format:
    44# Each line specifies a certain error to be reported
    55# <data type> : messagetype : <key><expression><value>
     6# Lines starting with a # are considered as comments.
    67#
    78# Data type can be:
    89#  node        - a node point
     
    1718#
    1819# Key and value are expressions describing certain keys and values of these keys.
    1920# Regulator expressions are supported. In this case the expressions starts and
    20 # ends with // signs. If an 'i' is appended, the regular expression is
    21 # case insensitive.
     21# ends with a / sign. If an 'i' is appended, the regular expression is
     22# case insensitive. For instance, /foo|bar/i
    2223#
    2324# The * sign indicates any string.
    2425# The texts BOOLEAN_TRUE and BOOLEAN_FALSE in the value part indicate a special
     
    6667way  : I : highway == footway && maxspeed == *                 # maxspeed used for footway
    6768way  : I : highway == steps && maxspeed == *                   # maxspeed used for footway
    6869
     70way  : W : oneway != BOOLEAN_FALSE && /.*:(backward|forward)/ == *    # oneway combined with *:backward/forward
     71
    6972*    : W : layer == /\+.*/                                     # layer tag with + sign
    7073
    7174*    : I : name == /.*Strasse.*/i                              # street name contains ss