Changeset 4575 in josm for trunk/data


Ignore:
Timestamp:
2011-11-05T15:14:33+01:00 (8 years ago)
Author:
Don-vip
Message:

fix #7040 - Sports presets improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r4569 r4575  
    34293429    <group name="Sport" icon="presets/rowing.png">
    34303430        <item name="Multi" icon="styles/standard/sport/multi.png" type="node,closedway">
     3431            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dmulti" />
    34313432            <label text="Edit Multi" />
    34323433            <key key="sport" value="multi" />
     
    34343435            <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
    34353436        </item>
     3437        <item name="9pin" icon="styles/standard/sport/10pin.png" type="node,closedway">
     3438            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3D9pin" />
     3439            <label text="Edit 9pin" />
     3440            <key key="sport" value="9pin" />
     3441            <text key="name" text="Name" default="" delete_if_empty="true" />
     3442            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="" delete_if_empty="true" />
     3443        </item>
    34363444        <item name="10pin" icon="styles/standard/sport/10pin.png" type="node,closedway">
     3445            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3D10pin" />
    34373446            <label text="Edit 10pin" />
    34383447            <key key="sport" value="10pin" />
    34393448            <text key="name" text="Name" default="" delete_if_empty="true" />
    3440             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3449            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="" delete_if_empty="true" />
     3450        </item>
     3451        <item name="Archery" icon="styles/standard/sport/archery.png" type="node,closedway">
     3452            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Darchery" />
     3453            <label text="Edit Archery" />
     3454            <key key="sport" value="archery" />
     3455            <text key="name" text="Name" default="" delete_if_empty="true" />
     3456            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="" delete_if_empty="true" />
    34413457        </item>
    34423458        <item name="Athletics" icon="presets/athletics.png" type="node,closedway">
     3459            <link href="http://wiki.openstreetmap.org/wiki/Tag:sports%3Dathletics" />
    34433460            <label text="Edit Athletics" />
    34443461            <key key="sport" value="athletics" />
    34453462            <text key="name" text="Name" default="" delete_if_empty="true" />
    3446             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
    3447         </item>
    3448         <item name="Archery" icon="styles/standard/sport/archery.png" type="node,closedway">
    3449             <label text="Edit Archery" />
    3450             <key key="sport" value="archery" />
    3451             <text key="name" text="Name" default="" delete_if_empty="true" />
    3452             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3463            <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="track" delete_if_empty="true" />
    34533464        </item>
    34543465        <item name="Climbing" icon="styles/standard/sport/climbing.png" type="node,closedway">
     3466            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dclimbing" />
    34553467            <label text="Edit Climbing" />
    34563468            <key key="sport" value="climbing" />
    34573469            <text key="name" text="Name" default="" delete_if_empty="true" />
    3458             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3470            <combo key="leisure" text="type" values="sports_centre" default="" delete_if_empty="true" />
    34593471        </item>
    34603472        <item name="Canoeing" icon="presets/canoe.png" type="node,way,closedway">
     3473            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dcanoe" />
    34613474            <label text="Edit Canoeing" />
    34623475            <key key="sport" value="canoe" />
    34633476            <text key="name" text="Name" default="" delete_if_empty="true" />
    3464             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
    34653477        </item>
    34663478        <item name="Cycling" icon="presets/cycling.png" type="node,closedway">
     3479            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dcycling" />
    34673480            <label text="Edit Cycling" />
    34683481            <key key="sport" value="cycling" />
     
    34713484        </item>
    34723485        <item name="Dog Racing" icon="styles/standard/leisure/dog.png" type="node,closedway">
     3486            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Ddog_racing" />
    34733487            <label text="Edit Dog Racing" />
    34743488            <key key="sport" value="dog_racing" />
     
    34773491        </item>
    34783492        <item name="Equestrian" icon="presets/equestrian.png" type="node,closedway">
     3493            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dequestrian" />
    34793494            <label text="Edit Equestrian" />
    34803495            <key key="sport" value="equestrian" />
    34813496            <text key="name" text="Name" default="" delete_if_empty="true" />
    3482             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3497            <combo key="leisure" text="type" values="horse_riding,pitch,sports_centre,stadium,track" default="horse_riding" delete_if_empty="true" />
    34833498        </item>
    34843499        <item name="Horse Racing" icon="presets/equestrian.png" type="node,closedway">
     3500            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dhorse_racing" />
    34853501            <label text="Edit Horse Racing" />
    34863502            <key key="sport" value="horse_racing" />
     
    34893505        </item>
    34903506        <item name="Gymnastics" icon="presets/gymnastics.png" type="node,closedway">
     3507            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dgymnastics" />
    34913508            <label text="Edit Gymnastics" />
    34923509            <key key="sport" value="gymnastics" />
    34933510            <text key="name" text="Name" default="" delete_if_empty="true" />
    3494             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3511            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="" delete_if_empty="true" />
    34953512        </item>
    34963513        <item name="Skating" icon="presets/skating.png" type="node,closedway">
     3514            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dskating" />
    34973515            <label text="Edit Skating" />
    34983516            <key key="sport" value="skating" />
    34993517            <text key="name" text="Name" default="" delete_if_empty="true" />
    3500             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3518            <combo key="leisure" text="type" values="ice_rink,pitch,sports_centre,stadium" default="ice_rink" delete_if_empty="true" />
    35013519        </item>
    35023520        <item name="Skateboard" icon="styles/standard/sport/skateboard.png" type="node,closedway">
     3521            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dskateboard" />
    35033522            <label text="Edit Skateboard" />
    35043523            <key key="sport" value="skateboard" />
    35053524            <text key="name" text="Name" default="" delete_if_empty="true" />
    3506             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3525            <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="pitch" delete_if_empty="true" />
    35073526        </item>
    35083527        <item name="Swimming" icon="presets/swimming.png" type="node,closedway">
     3528            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dswimming" />
    35093529            <label text="Edit Swimming" />
    35103530            <key key="sport" value="swimming" />
    35113531            <text key="name" text="Name" default="" delete_if_empty="true" />
    3512             <combo key="leisure" text="type" values="sports_centre,stadium,swimming_pool" default="swimming_pool" delete_if_empty="true" />
     3532            <combo key="leisure" text="type" values="sports_centre,stadium,swimming_pool,water_park" default="swimming_pool" delete_if_empty="true" />
    35133533        </item>
    35143534        <item name="Skiing" icon="presets/skiing_downhill.png" type="node,way,closedway">
     
    35173537            <key key="sport" value="skiing" />
    35183538            <text key="name" text="Name" default="" delete_if_empty="true" />
    3519             <combo key="piste:type" text="Piste type" values="downhill,nordic,snow_park" default="" delete_if_empty="true" />
     3539            <combo key="piste:type" text="Piste type" values="downhill,nordic,skitour,snow_park" default="" delete_if_empty="true" />
    35203540            <combo key="piste:difficulty" text="Difficulty" values="novice,easy,intermediate,advanced,expert,freeride" default="" delete_if_empty="true" />
    3521             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3541            <combo key="piste:grooming" text="Grooming" values="classic,mogul,skating,classic;skating,scooter,backcountry" default="" delete_if_empty="true" />
    35223542        </item>
    35233543        <item name="Shooting" icon="presets/range.png" type="node,closedway">
     
    35343554    <group name="Sport (Ball)" icon="presets/soccer.png">
    35353555        <item name="Soccer" icon="presets/soccer.png" type="node,closedway">
     3556            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dsoccer"/>
    35363557            <label text="Edit Soccer" />
    35373558            <key key="sport" value="soccer" />
    35383559            <text key="name" text="Name" default="" delete_if_empty="true" />
    3539             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3560            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35403561        </item>
    35413562        <item name="Australian Football" icon="presets/soccer.png" type="node,closedway">
     3563            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Daustralian_football"/>
    35423564            <label text="Edit Australian Football" />
    35433565            <key key="sport" value="australian_football" />
    35443566            <text key="name" text="Name" default="" delete_if_empty="true" />
    3545             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3567            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35463568        </item>
    35473569        <item name="American Football" icon="presets/football.png" type="node,closedway">
     3570            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Damerican_football"/>
    35483571            <label text="Edit American Football" />
    35493572            <key key="sport" value="american_football" />
    35503573            <text key="name" text="Name" default="" delete_if_empty="true" />
    3551             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3574            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35523575        </item>
    35533576        <item name="Canadian Football" icon="presets/football.png" type="node,closedway">
     3577            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dcanadian_football"/>
    35543578            <label text="Edit Canadian Football" />
    35553579            <key key="sport" value="canadian_football" />
    35563580            <text key="name" text="Name" default="" delete_if_empty="true" />
    3557             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3581            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35583582        </item>
    35593583        <item name="Gaelic Football" icon="presets/soccer.png" type="node,closedway">
     3584            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dgaelic_games"/>
    35603585            <label text="Edit Gaelic Football" />
    35613586            <key key="sport" value="gaelic_football" />
    35623587            <text key="name" text="Name" default="" delete_if_empty="true" />
    3563             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3588            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35643589        </item>
    35653590        <item name="Rugby League" icon="presets/football.png" type="node,closedway">
     3591            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Drugby_league"/>
    35663592            <label text="Edit Rugby League" />
    35673593            <key key="sport" value="rugby_league" />
    35683594            <text key="name" text="Name" default="" delete_if_empty="true" />
    3569             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3595            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35703596        </item>
    35713597        <item name="Rugby Union" icon="presets/football.png" type="node,closedway">
     3598            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Drugby_union"/>
    35723599            <label text="Edit Rugby Union" />
    35733600            <key key="sport" value="rugby_union" />
    35743601            <text key="name" text="Name" default="" delete_if_empty="true" />
    3575             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3602            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35763603        </item>
    35773604        <item name="Baseball" icon="presets/baseball.png" type="node,closedway">
     3605            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dbaseball"/>
    35783606            <label text="Edit Baseball" />
    35793607            <key key="sport" value="baseball" />
    35803608            <text key="name" text="Name" default="" delete_if_empty="true" />
    3581             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3609            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35823610        </item>
    35833611        <item name="Basketball" icon="presets/basketball.png" type="node,closedway">
     3612            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dbasketball"/>
    35843613            <label text="Edit Basketball" />
    35853614            <key key="sport" value="basketball" />
    35863615            <text key="name" text="Name" default="" delete_if_empty="true" />
    3587             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3616            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    35883617        </item>
    35893618        <item name="Volleyball" icon="styles/standard/sport/volleyball.png" type="node,closedway">             
     
    36063635        </item>
    36073636        <item name="Golf" icon="presets/golf.png" type="node,closedway">
     3637            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dgolf"/>
    36083638            <label text="Edit Golf" />
    36093639            <key key="sport" value="golf" />
    36103640            <text key="name" text="Name" default="" delete_if_empty="true" />
    3611             <combo key="leisure" text="type" values="golf_course,pitch,sports_centre,stadium,track" default="golf_course" delete_if_empty="true" />
     3641            <combo key="leisure" text="type" values="golf_course,pitch,sports_centre,stadium" default="golf_course" delete_if_empty="true" />
    36123642        </item>
    36133643        <item name="Boule" icon="presets/boule.png" type="node,closedway">
     3644            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dboules"/>
    36143645            <label text="Edit Boule" />
    36153646            <key key="sport" value="boules" />
    36163647            <text key="name" text="Name" default="" delete_if_empty="true" />
    3617             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3648            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    36183649        </item>
    36193650        <item name="Bowls" icon="presets/boule.png" type="node,closedway">
     3651            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dbowls"/>
    36203652            <label text="Edit Bowls" />
    36213653            <key key="sport" value="bowls" />
    36223654            <text key="name" text="Name" default="" delete_if_empty="true" />
    3623             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3655            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    36243656        </item>
    36253657        <item name="Cricket" icon="presets/cricket.png" type="node,closedway">
     3658            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dcricket"/>
    36263659            <label text="Edit Cricket" />
    36273660            <key key="sport" value="cricket" />
    36283661            <text key="name" text="Name" default="" delete_if_empty="true" />
    3629             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3662            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    36303663        </item>
    36313664        <item name="Cricket Nets" icon="presets/cricket.png" type="node,closedway">
     3665            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dcricket_nets"/>
    36323666            <label text="Edit Cricket Nets" />
    36333667            <key key="sport" value="cricket_nets" />
    36343668            <text key="name" text="Name" default="" delete_if_empty="true" />
    3635             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3669            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="" delete_if_empty="true" />
    36363670        </item>
    36373671        <item name="Croquet" icon="styles/standard/sport/croquet.png" type="node,closedway">
     3672            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dcroquet"/>
    36383673            <label text="Edit Croquet" />
    36393674            <key key="sport" value="croquet" />
    36403675            <text key="name" text="Name" default="" delete_if_empty="true" />
    3641             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3676            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    36423677        </item>
    36433678        <item name="Hockey" icon="presets/Hockey.png" type="node,closedway">
     3679            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dhockey"/>
    36443680            <label text="Edit Hockey" />
    36453681            <key key="sport" value="hockey" />
    36463682            <text key="name" text="Name" default="" delete_if_empty="true" />
    3647             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3683            <combo key="leisure" text="type" values="ice_rink,pitch,sports_centre,stadium" default="" delete_if_empty="true" />
    36483684        </item>
    36493685        <item name="Pelota" icon="presets/pelota.png" type="node,closedway">
     3686            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dpelota"/>
    36503687            <label text="Edit Pelota" />
    36513688            <key key="sport" value="pelota" />
    36523689            <text key="name" text="Name" default="" delete_if_empty="true" />
    3653             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3690            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    36543691        </item>
    36553692        <item name="Racquet" icon="presets/racquetball.png" type="node,closedway">
     3693            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dracquet"/>
    36563694            <label text="Edit Racquet" />
    36573695            <key key="sport" value="racquet" />
    36583696            <text key="name" text="Name" default="" delete_if_empty="true" />
    3659             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3697            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="" delete_if_empty="true" />
    36603698        </item>
    36613699        <item name="Table Tennis" icon="presets/table_tennis.png" type="node,closedway">
     3700            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dtable_tennis"/>
    36623701            <label text="Edit Table Tennis" />
    36633702            <key key="sport" value="table_tennis" />
    36643703            <text key="name" text="Name" default="" delete_if_empty="true" />
    3665             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3704            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="" delete_if_empty="true" />
    36663705        </item>
    36673706        <item name="Tennis" icon="presets/tennis.png" type="node,closedway">
     3707            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport%3Dtennis"/>
    36683708            <label text="Edit Tennis" />
    36693709            <key key="sport" value="tennis" />
    36703710            <text key="name" text="Name" default="" delete_if_empty="true" />
    3671             <combo key="leisure" text="type" values="pitch,sports_centre,stadium,track" default="" delete_if_empty="true" />
     3711            <combo key="leisure" text="type" values="pitch,sports_centre,stadium" default="pitch" delete_if_empty="true" />
    36723712        </item>
    36733713    </group> <!-- Sport (Ball) -->
Note: See TracChangeset for help on using the changeset viewer.