Ticket #8966: tagchecker.diff

File tagchecker.diff, 4.2 KB (added by skyper, 12 years ago)

patch

  • data/tagchecker.cfg

     
    9090# see #9071
    9191relation : W : type == route_master && route_master != *       # route_master relation without route_master=*
    9292
     93# power related stuff (incomplete)
     94*    : W : substation == * && power != substation              # substation key without power=substation
     95*    : W : transformer == * && power != *                      # transformer key without power
     96*    : I : power == substation && substation != *              # missing substation=*
     97*    : I : power == transformer && transformer != *            # missing transformer=*
     98
    9399########################################
    94100# Rules derived from Taginfo statistics
    95101########################################
     
    100106way  : W : junction             == * && highway != *                                   # junction without highway
    101107*    : W : lanes                == * && highway != *                                   # lanes without highway
    102108*    : W : lcn                  == * && highway != *                                   # lcn without highway
    103 *    : W : lit                  == * && highway != * && amenity != /parking.*/ && public_transport != platform   # lit without highway/parking/platform
     109*    : W : lit                  == * && highway != * && railway != * && piste:type != * && amenity != /parking.*/ && public_transport != platform   # lit without highway/railway/piste/parking/platform
    104110*    : W : living_street        == * && highway != *                                   # living_street without highway
    105111*    : W : maintenance          == * && highway != *                                   # maintenance without highway
    106112*    : W : median               == * && highway != *                                   # median without highway
     
    145151*    : W : llid                 == * && waterway != *                                  # llid without waterway
    146152*    : W : canal                == * && waterway != *                                  # canal without waterway
    147153*    : W : have_riverbank       == * && waterway != *                                  # have_riverbank without waterway
    148 *    : W : tunnel               == * && highway != * && railway != * && waterway != *  # tunnel without highway/railway/waterway
    149 *    : W : bridge               == * && highway != * && railway != * && waterway != * && piste:type != * # bridge without highway/railway/waterway/piste
    150 *    : W : psv                  == * && highway != * && railway != * && waterway != *  # psv without highway/railway/waterway
     154*    : W : tunnel               == * && highway != * && railway != * && waterway != * && public_transport != platform && man_made != pipeline # tunnel without highway/railway/waterway/platform/pipeline
     155*    : W : bridge               == * && highway != * && railway != * && waterway != * && public_transport != platform && piste:type != * && man_made != pipeline # bridge without highway/railway/waterway/platform/piste/pipeline
     156*    : W : psv                  == * && highway != * && railway != * && waterway != * && amenity != /parking.*/  # psv without highway/railway/waterway/parking
    151157*    : W : width                == * && highway != * && railway != * && waterway != * && aeroway != * && cycleway != * && footway != * && barrier != * && man_made != * && entrance != * # width without physical linear feature
    152 *    : W : maxspeed             == * && highway != * && railway != * && traffic_sign != /(.*;)?maxspeed(;.*)?/ && type != enforcement # maxspeed without highway/railway/traffic_sign
     158*    : W : maxspeed             == * && highway != * && railway != * && traffic_sign != /(.*;)?maxspeed(;.*)?/ && type != enforcement # maxspeed without highway/railway/traffic_sign/enforcement
    153159*    : W : fence_type           == * && barrier != fence                               # fence_type without barrier=fence
    154160*    : W : border_type          == * && boundary != *                                  # border_type without boundary
    155161*    : W : recycling_type       == * && amenity != recycling                           # recycling_type without amenity=recycling