Changeset 4777 in josm


Ignore:
Timestamp:
2012-01-08T19:36:17+01:00 (12 years ago)
Author:
simon04
Message:

fix #5017 - Testing for typical tag combinations (derived from Taginfo)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/tagchecker.cfg

    r4544 r4777  
    8585*    : W : natural == water && leisure == swimming_pool       # natural water used for swimming pool
    8686*    : W : natural == water && amenity == swimming_pool       # natural water used for swimming pool
     87
     88# see ticket #5017
     89# Taginfo query: select keypairs.key1, keypairs.key2, keypairs.count_all, keys.count_all, cast(keypairs.count_all as real)/keys.count_all as from_fraction_all from keys, keypairs where key1='waterway' and keys.key=keypairs.key2 and (key1<>'highway' or keypairs.count_all>12000) and (key1<>'railway' or keypairs.count_all>3000) and (key1<>'waterway' or keypairs.count_all>800) and key2 not like '%:%' and from_fraction_all>0.97 and 1 union select keypairs.key2, keypairs.key1, keypairs.count_all, keys.count_all, cast(keypairs.count_all as real)/keys.count_all as from_fraction_all from keys, keypairs where key2='waterway' and keys.key=keypairs.key1 and (key2<>'highway' or keypairs.count_all>12000) and (key2<>'railway' or keypairs.count_all>3000) and (key2<>'waterway' or keypairs.count_all>800) and key1 not like '%:%' and from_fraction_all>0.97 and 1 order by keypairs.count_all desc limit 1000;
     90*    : W : incline              == * && highway != *                                   # incline without highway
     91*    : W : junction             == * && highway != *                                   # junction without highway
     92*    : W : lanes                == * && highway != *                                   # lanes without highway
     93*    : W : lcn                  == * && highway != *                                   # lcn without highway
     94*    : W : lit                  == * && highway != *                                   # lit without highway
     95*    : W : living_street        == * && highway != *                                   # living_street without highway
     96*    : W : maintenance          == * && highway != *                                   # maintenance without highway
     97*    : W : maxspeed             == * && highway != *                                   # maxspeed without highway
     98*    : W : median               == * && highway != *                                   # median without highway
     99*    : W : moped                == * && highway != *                                   # moped without highway
     100*    : W : motor_vehicle        == * && highway != *                                   # motor_vehicle without highway
     101*    : W : motorroad            == * && highway != *                                   # motorroad without highway
     102*    : W : ntd_id               == * && highway != *                                   # ntd_id without highway
     103*    : W : oneway               == * && highway != *                                   # oneway without highway
     104*    : W : sac_scale            == * && highway != *                                   # sac_scale without highway
     105*    : W : segregated           == * && highway != *                                   # segregated without highway
     106*    : W : sidewalk             == * && highway != *                                   # sidewalk without highway
     107*    : W : smoothness           == * && highway != *                                   # smoothness without highway
     108*    : W : snowplowing          == * && highway != *                                   # snowplowing without highway
     109*    : W : step_count           == * && highway != *                                   # step_count without highway
     110*    : W : surface              == * && highway != *                                   # surface without highway
     111*    : W : toll                 == * && highway != *                                   # toll without highway
     112*    : W : tracktype            == * && highway != *                                   # tracktype without highway
     113*    : W : trail_visibility     == * && highway != *                                   # trail_visibility without highway
     114*    : W : trolley_wire         == * && highway != *                                   # trolley_wire without highway
     115*    : W : zip_left             == * && highway != *                                   # zip_left without highway
     116*    : W : zip_right            == * && highway != *                                   # zip_right without highway
     117*    : W : combined_transport_c == * && railway != *                                   # combined_transport_c without railway
     118*    : W : detail               == * && railway != *                                   # detac without railway
     119*    : W : eddy_current_brake   == * && railway != *                                   # eddy_current_brac without railway
     120*    : W : electrified          == * && railway != *                                   # electrific without railway
     121*    : W : etcs                 == * && railway != *                                   # etc without railway
     122*    : W : gauge                == * && railway != *                                   # gauc without railway
     123*    : W : grade_of_track       == * && railway != *                                   # grade_of_trac without railway
     124*    : W : kursbuchstrecke      == * && railway != *                                   # kursbuchstrecc without railway
     125*    : W : lzb                  == * && railway != *                                   # lc without railway
     126*    : W : old_railway_operator == * && railway != *                                   # old_railway_operatc without railway
     127*    : W : operating_procedure  == * && railway != *                                   # operating_proceduc without railway
     128*    : W : pzb                  == * && railway != *                                   # pc without railway
     129*    : W : radio                == * && railway != *                                   # radc without railway
     130*    : W : structure_gauge      == * && railway != *                                   # structure_gauc without railway
     131*    : W : tilting_technology   == * && railway != *                                   # tilting_technoloc without railway
     132*    : W : track_class          == * && railway != *                                   # track_clac without railway
     133*    : W : tracks               == * && railway != *                                   # tracc without railway
     134*    : W : traffic_mode         == * && railway != *                                   # traffic_moc without railway
     135*    : W : usage                == * && railway != *                                   # usac without railway
     136*    : W : workrules            == * && railway != *                                   # workrulc without railway
     137*    : W : stream               == * && waterway != *                                  # stream without waterway
     138*    : W : intermittent         == * && waterway != *                                  # intermittent without waterway
     139*    : W : boat                 == * && waterway != *                                  # boat without waterway
     140*    : W : length_unit          == * && waterway != *                                  # length_unit without waterway
     141*    : W : llid                 == * && waterway != *                                  # llid without waterway
     142*    : W : canal                == * && waterway != *                                  # canal without waterway
     143*    : W : have_riverbank       == * && waterway != *                                  # have_riverbank without waterway
     144*    : W : tunnel               == * && highway != * && railway != * && waterway != *  # tunnel without highway/railway/waterway
     145*    : W : bridge               == * && highway != * && railway != * && waterway != *  # bridge without highway/railway/waterway
     146*    : W : width                == * && highway != * && railway != * && waterway != *  # width without highway/railway/waterway
     147*    : W : psv                  == * && highway != * && railway != * && waterway != *  # psv without highway/railway/waterway
Note: See TracChangeset for help on using the changeset viewer.