Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Rules/SuspiciousSwimming_Pool
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
= Suspiscious leisure=swimming_pool = This ruleset checks for leisure=swimming_pool that have too much information and may be instead a leisure=sports_centre + sport = swimming. {{{ #!rule meta { title: "swimming_pool tag confusion"; version: "0.[[revision]]"; description: "Detect Suspiscious leisure=swimming_pool"; author: "nlehuby"; baselanguage: "en"; watch-modified: true; } node[leisure=swimming_pool][name], *[leisure=swimming_pool][building=yes], *[leisure=swimming_pool][website], *[leisure=swimming_pool][url], *[leisure=swimming_pool][contact:website], *[leisure=swimming_pool][contact:url], *[leisure=swimming_pool][phone], *[leisure=swimming_pool][contact:phone], *[leisure=swimming_pool][wikipedia] { throwWarning: tr("If this is a facility containing one or more swimming pools it should be tagged leisure=sports_centre + sport=swimming."); group: tr("Suspiscious tag association - possible confusion between swimming_pool and sports_centre"); osmoseItemClassLevel: "3080/30801/2"; osmoseTags: list("tag", "fix:chair"); assertNoMatch: "way leisure=swimming_pool"; assertMatch: "way leisure=swimming_pool url=A"; assertMatch: "node leisure=swimming_pool building=yes"; assertMatch: "relation leisure=swimming_pool phone=+3334656565"; } }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.