Changeset 4544 in josm


Ignore:
Timestamp:
2011-10-27T13:53:47+02:00 (13 years ago)
Author:
Don-vip
Message:

fix #6932 - Add private swimming pool preset and check for natural=water tag presence on swimming pools

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r4519 r4544  
    24082408            <text key="name" text="Name" default="" delete_if_empty="true" />
    24092409        </item>
     2410        <item name="Private Swimming Pool" icon="presets/swimming.png" type="node,closedway">
     2411            <key key="leisure" value="swimming_pool" />
     2412            <key key="access" value="private" />
     2413        </item>
    24102414    </group> <!-- Leisure -->
    24112415    <group name="Culture" icon="presets/theater.png">
     
    27832787            <label text="select sport:" />
    27842788            <space />
    2785             <combo key="sport" text="sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,boules,bowls,canadian_football,canoe,climbing,cricket,cricket_nets,croquet,cycling,dog_racing,equestrian,gaelic_football,golf,gymnastics,hockey,horse_racing,motor,pelota,racquet,rugby_league,rugby_union,shooting,skateboard,skating,skiing,soccer,swimming,table_tennis,tennis" default="" delete_if_empty="true" />
     2789            <combo key="sport" text="sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,boules,bowls,canadian_football,canoe,climbing,cricket,cricket_nets,croquet,cycling,dog_racing,equestrian,gaelic_football,golf,gymnastics,hockey,horse_racing,motor,pelota,racquet,rugby_league,rugby_union,shooting,skateboard,skating,skiing,soccer,table_tennis,tennis" default="" delete_if_empty="true" />
    27862790        </item>
    27872791        <item name="Racetrack" icon="presets/stadium.png" type="node,way,closedway,relation">
     
    27922796            <label text="select sport:" />
    27932797            <space />
    2794             <combo key="sport" text="sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,boules,bowls,canadian_football,canoe,climbing,cricket,cricket_nets,croquet,cycling,dog_racing,equestrian,gaelic_football,golf,gymnastics,hockey,horse_racing,motor,pelota,racquet,rugby_league,rugby_union,shooting,skateboard,skating,skiing,soccer,swimming,table_tennis,tennis" default="" delete_if_empty="true" />
     2798            <combo key="sport" text="sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,boules,bowls,canadian_football,canoe,climbing,cricket,cricket_nets,croquet,cycling,dog_racing,equestrian,gaelic_football,golf,gymnastics,hockey,horse_racing,motor,pelota,racquet,rugby_league,rugby_union,shooting,skateboard,skating,skiing,soccer,table_tennis,tennis" default="" delete_if_empty="true" />
    27952799        </item>
    27962800        <item name="Golf Course" icon="presets/golf.png" type="node,closedway">
     
    28902894            <key key="sport" value="swimming" />
    28912895            <text key="name" text="Name" default="" delete_if_empty="true" />
    2892             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     2896            <combo key="leisure" text="type" values="sports_centre,stadium,swimming_pool" default="swimming_pool" delete_if_empty="true" />
    28932897        </item>
    28942898        <item name="Skiing" icon="presets/skiing_downhill.png" type="node,way,closedway">
  • trunk/data/tagchecker.cfg

    r4397 r4544  
    8282*    : W : highway == * && waterway == *                       # unusual tag combination (highway & waterway)
    8383*    : W : highway == * && natural == *                        # unusual tag combination (highway & natural)
     84
     85*    : W : natural == water && leisure == swimming_pool       # natural water used for swimming pool
     86*    : W : natural == water && amenity == swimming_pool       # natural water used for swimming pool
Note: See TracChangeset for help on using the changeset viewer.