Changeset 17286 in josm


Ignore:
Timestamp:
2020-10-30T17:25:44+01:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #19952 - Change sport combo to multiselect, update ignorelist

Location:
trunk/resources/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r17274 r17286  
    215215    </chunk>
    216216    <chunk id="sport">
    217         <combo key="sport" text="Sport" values="10pin,9pin,american_football,archery,athletics,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,chess,climbing,cricket,croquet,curling,cycling,dog_racing,equestrian,field_hockey,fitness,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,ice_skating,karting,model_aerodrome,motocross,motor,multi,pelota,racquet,rc_car,roller_skating,rowing,rugby_league,rugby_union,running,safety_training,scuba_diving,shooting,skateboard,soccer,surfing,swimming,table_tennis,tennis,volleyball" values_context="sport" />
     217        <multiselect key="sport" text="Sport" values="10pin;9pin;american_football;archery;athletics;australian_football;baseball;basketball;beachvolleyball;billiards;boules;bowls;canadian_football;canoe;chess;climbing;cricket;croquet;curling;cycling;dog_racing;equestrian;field_hockey;fitness;gaelic_games;golf;gymnastics;handball;horse_racing;ice_hockey;ice_skating;karting;model_aerodrome;motocross;motor;multi;pelota;racquet;rc_car;roller_skating;rowing;rugby_league;rugby_union;running;safety_training;scuba_diving;shooting;skateboard;soccer;surfing;swimming;table_tennis;tennis;volleyball" values_context="sport" />
    218218    </chunk>
    219219    <chunk id="highway_access">
     
    20982098                <reference ref="POI_access" />
    20992099                <combo key="surface" text="Surface" values="gravel,pebblestone,sand" />
    2100                 <combo key="sport" text="Sport" values="swimming,surfing" />
     2100                <multiselect key="sport" text="Sport" values="swimming;surfing" rows="3"/>
    21012101                <combo key="nudism" text="Nudism" values="yes,no,obligatory,designated,customary,permissive" />
    21022102            </optional>
     
    48344834            <key key="leisure" value="track" />
    48354835            <text key="name" text="Name" />
    4836             <combo key="sport" text="Sport" values="athletics,cycling,dog_racing,equestrian,horse_racing,running,roller_skating,ice_skating" values_context="sport" />
     4836            <multiselect key="sport" text="Sport" values="athletics;cycling;dog_racing;equestrian;horse_racing;running;roller_skating;ice_skating" values_context="sport" />
    48374837            <reference ref="sport_surface" />
    48384838            <check key="area" text="Area" />
  • trunk/resources/data/validator/ignoretags.cfg

    r17281 r17286  
    157157E:faa
    158158E:dataset
     159E:sport
     160E:cuisine
    159161;
    160162; Ignore valid and semi-valid keys that end with...
     
    264266K:amenity=mobile_money_agent
    265267;
    266 ; Cuisine Tags
    267 ;
    268 K:cuisine=pie
    269 ;
    270268; Historic Tags
    271269;
     
    360358; Craft Key/Value Pairs
    361359K:craft=tailor
    362 ;
    363 ; Sports Tags
    364 ;
    365 K:sport=boxing
    366 K:sport=netball
    367 K:sport=cliff_diving
    368360;
    369361; Tourism Tags
  • trunk/resources/data/validator/multiple.mapcss

    r17285 r17286  
    3434*[traffic_sign        =~ /^(;.*|.*;;.*|.*;)$/],
    3535*[voltage             =~ /^(;.*|.*;;.*|.*;)$/],
     36*[sport               =~ /^(;.*|.*;;.*|.*;)$/],
    3637*[cuisine             =~ /^(;.*|.*;;.*|.*;)$/] {
    3738        throwWarning: tr("empty value in semicolon-separated ''{0}''", "{0.key}");
Note: See TracChangeset for help on using the changeset viewer.