Changeset 6418 in josm


Ignore:
Timestamp:
2013-11-26T17:24:06+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #9369 - tagchecker: rework basic checks on highways

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/tagchecker.cfg

    r6416 r6418  
    3939way  : W : highway == * && name == /.* (Ave|Blvd|Cct|Cir|Cl|Cr|Crct|Cres|Crt|Ct|Dr|Drv|Esp|Espl|Hwy|Ln|Mw|Mwy|Pl|Rd|Qy|Qys|Sq|St|Str|Ter|Tce|Tr|Wy)\.?$/i               # abbreviated street name
    4040
    41 node : W : oneway == *                                         # oneway tag on a node
    42 node : W : bridge == BOOLEAN_TRUE                              # bridge tag on a node
    43 node : W : highway == tertiary                                 # wrong highway tag on a node
    44 node : W : highway == secondary                                # wrong highway tag on a node
    45 node : W : highway == residential                              # wrong highway tag on a node
    46 node : W : highway == unclassified                             # wrong highway tag on a node
    47 node : W : highway == track                                    # wrong highway tag on a node
    48 way  : W : highway == crossing                                 # wrong crossing tag on a way
    49 way  : W : railway == crossing                                 # wrong crossing tag on a way
    50 way  : I : highway == unclassified && name != *                # Unnamed unclassified highway
    51 way  : I : highway == secondary && ref != *                    # highway without a reference
    52 way  : I : highway == tertiary && ref != *                     # highway without a reference
    53 way  : I : highway == motorway && ref != *                     # highway without a reference
    54 *    : W : highway == road                                     # temporary highway type
    55 *    : W : / *name */i == * && name != *                       # misspelled key name
     41node : W : oneway == *                                                # oneway tag on a node
     42node : W : bridge == BOOLEAN_TRUE                                     # bridge tag on a node
     43node : W : highway == /motorway*|trunk*|primary*|secondary*|tertiary*|unclassified|residential|service|living_street|pedestrian|track|path|footway/  # wrong highway tag on a node
     44way  : W : /highway|railway/ == crossing                              # wrong crossing tag on a way
     45way  : I : highway == unclassified && name != *                       # Unnamed unclassified highway
     46way  : I : highway == /motorway|trunk|primary|secondary/ && ref != *  # highway without a reference
     47*    : W : highway == road                                            # temporary highway type
     48*    : W : / *name */i == * && name != *                              # misspelled key name
    5649
    5750# The following could replace unnamed way check. Still at the moment we keep it as it is
Note: See TracChangeset for help on using the changeset viewer.