Changes between Version 4 and Version 5 of Rules/SuspiciousSwimming_Pool


Ignore:
Timestamp:
2018-11-18T19:33:18+01:00 (7 years ago)
Author:
nlehuby
Comment:

add a few tags for osmose

Legend:

Unmodified
Added
Removed
Modified
  • Rules/SuspiciousSwimming_Pool

    v4 v5  
    55{{{
    66#!rule
    7 
    87meta
    98{
    10         title: "swimming_pool tag confusion";
    11         version: "0.[[revision]]";
    12         description: "Detect Suspiscious leisure=swimming_pool";
    13         author: "nlehuby";
    14         baselanguage: "en";
    15         watch-modified: true;
     9        title: "swimming_pool tag confusion";
     10        version: "0.5";
     11        description: "Detect Suspiscious leisure=swimming_pool";
     12        author: "nlehuby";
     13        baselanguage: "en";
     14        watch-modified: true;
    1615}
    1716
     
    2625*[leisure=swimming_pool][wikipedia]
    2726{
    28         throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
    29         group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
    30 
     27        throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming.");
     28        group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre");
     29        assertNoMatch: "way leisure=swimming_pool";
     30        assertMatch: "way leisure=swimming_pool url=A";
     31        assertMatch: "node leisure=swimming_pool building=yes";
     32        assertMatch: "relation leisure=swimming_pool phone=+3334656565";
    3133}
    3234