Changes between Version 3 and Version 4 of Rules/SuspiciousSwimming_Pool


Ignore:
Timestamp:
2018-11-16T22:03:41+01:00 (7 years ago)
Author:
frodrigo
Comment:

Refactor

Legend:

Unmodified
Added
Removed
Modified
  • Rules/SuspiciousSwimming_Pool

    v3 v4  
    1616}
    1717
    18 node[leisure=swimming_pool][name]
    19 {
    20         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    21         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    22 
    23 }
    24 
    25 node[leisure=swimming_pool][building=yes],
    26 way[leisure=swimming_pool][building=yes],
    27 relation[leisure=swimming_pool][building=yes]
    28 {
    29         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    30         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    31 
    32 }
    33 
    34 node[leisure=swimming_pool][website],
    35 way[leisure=swimming_pool][website],
    36 relation[leisure=swimming_pool][website]
    37 {
    38         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    39         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    40 
    41 }
    42 
    43 node[leisure=swimming_pool][url],
    44 way[leisure=swimming_pool][url],
    45 relation[leisure=swimming_pool][url]
    46 {
    47         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    48         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    49 
    50 }
    51 
    52 node[leisure=swimming_pool][contact:website],
    53 way[leisure=swimming_pool][contact:website],
    54 relation[leisure=swimming_pool][contact:website]
    55 {
    56         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    57         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    58 
    59 }
    60 
    61 node[leisure=swimming_pool][contact:url],
    62 way[leisure=swimming_pool][contact:url],
    63 relation[leisure=swimming_pool][contact:url]
    64 {
    65         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    66         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    67 
    68 }
    69 
    70 node[leisure=swimming_pool][phone],
    71 way[leisure=swimming_pool][phone],
    72 relation[leisure=swimming_pool][phone]
    73 {
    74         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    75         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    76 
    77 }
    78 
    79 node[leisure=swimming_pool][contact:phone],
    80 way[leisure=swimming_pool][contact:phone],
    81 relation[leisure=swimming_pool][contact:phone]
    82 {
    83         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    84         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    85 
    86 }
    87 
    88 node[leisure=swimming_pool][wikipedia],
    89 way[leisure=swimming_pool][wikipedia],
    90 relation[leisure=swimming_pool][wikipedia]
     18node[leisure=swimming_pool][name],
     19*[leisure=swimming_pool][building=yes],
     20*[leisure=swimming_pool][website],
     21*[leisure=swimming_pool][url],
     22*[leisure=swimming_pool][contact:website],
     23*[leisure=swimming_pool][contact:url],
     24*[leisure=swimming_pool][phone],
     25*[leisure=swimming_pool][contact:phone],
     26*[leisure=swimming_pool][wikipedia]
    9127{
    9228        throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");