Changeset 16480 in josm


Ignore:
Timestamp:
2020-05-23T17:05:54+02:00 (13 days ago)
Author:
Klumbumbus
Message:

fix #18934 - Add leisure=amusement_arcade, leisure=adult_gaming_centre and amenity=gambling, little reoder in the preset menu, more min_age uses (based on patch by hiddewie, icon for adult_gaming_centre and amusement_arcade from https://wiki.openstreetmap.org/wiki/File:Amusement_arcade-14.svg, the latter color changed, icon for gambling self created, all 3 icons PD and CC0 licensed)

Location:
trunk/resources
Files:
3 added
2 edited

Legend:

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

    r16479 r16480  
    34903490        </item> <!-- Bird Hide -->
    34913491        <separator/>
     3492        <item name="Amusement arcade" icon="presets/leisure/amusement_arcade.svg" type="node,closedway,multipolygon" preset_name_label="true">
     3493            <link wiki="Tag:leisure=amusement_arcade" />
     3494            <space />
     3495            <key key="leisure" value="amusement_arcade" />
     3496            <reference ref="name_operator_oh_wheelchair" />
     3497            <reference ref="min_age" />
     3498            <space />
     3499            <reference ref="internet_smoking" />
     3500            <reference ref="link_contact_address_payment" />
     3501            <preset_link preset_name="Adult gaming centre" text="Similar but different tags:" />
     3502            <preset_link preset_name="Gambling" text="Similar but different tags:" />
     3503            <preset_link preset_name="Casino" text="Similar but different tags:" />
     3504            <preset_link preset_name="Bookmaker" text="Similar but different tags:" />
     3505            <preset_link preset_name="Lottery" text="Similar but different tags:" />
     3506        </item> <!-- Amusement arcade -->
     3507        <item name="Adult gaming centre" icon="presets/leisure/adult_gaming_centre.svg" type="node,closedway,multipolygon" preset_name_label="true">
     3508            <link wiki="Tag:leisure=adult_gaming_centre" />
     3509            <space />
     3510            <key key="leisure" value="adult_gaming_centre" />
     3511            <reference ref="name_operator_oh_wheelchair" />
     3512            <reference ref="min_age" />
     3513            <space />
     3514            <reference ref="internet_smoking" />
     3515            <reference ref="link_contact_address_payment" />
     3516            <preset_link preset_name="Amusement arcade" text="Similar but different tags:" />
     3517            <preset_link preset_name="Adult gaming centre" text="Similar but different tags:" />
     3518            <preset_link preset_name="Gambling" text="Similar but different tags:" />
     3519            <preset_link preset_name="Casino" text="Similar but different tags:" />
     3520            <preset_link preset_name="Bookmaker" text="Similar but different tags:" />
     3521            <preset_link preset_name="Lottery" text="Similar but different tags:" />
     3522        </item> <!-- Adult gaming centre -->
     3523        <item name="Gambling" icon="presets/leisure/gambling.svg" type="node,closedway,multipolygon" preset_name_label="true">
     3524            <link wiki="Tag:amenity=gambling" />
     3525            <space />
     3526            <key key="amenity" value="gambling" />
     3527            <multiselect key="gambling" text="Type" values="yes;lottery;pachinko;slot_machines;bingo;betting;poker" />
     3528            <reference ref="name_operator_oh_wheelchair" />
     3529            <reference ref="min_age" />
     3530            <space />
     3531            <reference ref="internet_smoking" />
     3532            <reference ref="link_contact_address_payment" />
     3533            <preset_link preset_name="Amusement arcade" text="Similar but different tags:" />
     3534            <preset_link preset_name="Adult gaming centre" text="Similar but different tags:" />
     3535            <preset_link preset_name="Casino" text="Similar but different tags:" />
     3536            <preset_link preset_name="Bookmaker" text="Similar but different tags:" />
     3537            <preset_link preset_name="Lottery" text="Similar but different tags:" />
     3538        </item> <!-- Gambling -->
     3539        <item name="Casino" icon="presets/leisure/casino.svg" type="node,closedway,multipolygon" preset_name_label="true">
     3540            <link wiki="Tag:amenity=casino" />
     3541            <space />
     3542            <key key="amenity" value="casino" />
     3543            <reference ref="name_operator_oh_wheelchair" />
     3544            <reference ref="min_age" />
     3545            <space />
     3546            <reference ref="internet_smoking" />
     3547            <reference ref="link_contact_address_payment" />
     3548            <preset_link preset_name="Amusement arcade" text="Similar but different tags:" />
     3549            <preset_link preset_name="Adult gaming centre" text="Similar but different tags:" />
     3550            <preset_link preset_name="Gambling" text="Similar but different tags:" />
     3551            <preset_link preset_name="Bookmaker" text="Similar but different tags:" />
     3552            <preset_link preset_name="Lottery" text="Similar but different tags:" />
     3553        </item> <!-- Casino -->
     3554        <separator/>
    34923555        <item name="Night Club" icon="presets/leisure/nightclub.svg" type="node,closedway,multipolygon" preset_name_label="true">
    34933556            <link wiki="Tag:amenity=nightclub" />
     
    35013564            <reference ref="link_contact_address_payment" />
    35023565        </item> <!-- Night Club -->
    3503         <item name="Casino" icon="presets/leisure/casino.svg" type="node,closedway,multipolygon" preset_name_label="true">
    3504             <link wiki="Tag:amenity=casino" />
    3505             <space />
    3506             <key key="amenity" value="casino" />
    3507             <reference ref="name_operator_oh_wheelchair" />
    3508             <space />
    3509             <reference ref="internet_smoking" />
    3510             <space />
    3511             <reference ref="link_contact_address_payment" />
    3512         </item> <!-- Casino -->
    35133566        <item name="Strip Club" icon="presets/leisure/stripclub.svg" type="node,closedway,multipolygon" preset_name_label="true">
    35143567            <link wiki="Tag:amenity=stripclub" />
     
    35163569            <key key="amenity" value="stripclub" />
    35173570            <reference ref="name_operator_oh_wheelchair" />
     3571            <reference ref="min_age" />
    35183572            <space />
    35193573            <reference ref="internet_smoking" />
     
    65626616            <reference ref="name_operator_oh_wheelchair" />
    65636617            <reference ref="link_contact_address_payment" />
     6618            <preset_link preset_name="Amusement arcade" text="Similar but different tags:" />
     6619            <preset_link preset_name="Adult gaming centre" text="Similar but different tags:" />
     6620            <preset_link preset_name="Gambling" text="Similar but different tags:" />
     6621            <preset_link preset_name="Casino" text="Similar but different tags:" />
     6622            <preset_link preset_name="Lottery" text="Similar but different tags:" />
    65646623        </item> <!-- Bookmaker -->
    65656624        <item name="Lottery" icon="presets/shop/lottery.svg" type="node,closedway,multipolygon" preset_name_label="true">
     
    65696628            <reference ref="name_operator_oh_wheelchair" />
    65706629            <reference ref="link_contact_address_payment" />
     6630            <preset_link preset_name="Amusement arcade" text="Similar but different tags:" />
     6631            <preset_link preset_name="Adult gaming centre" text="Similar but different tags:" />
     6632            <preset_link preset_name="Gambling" text="Similar but different tags:" />
     6633            <preset_link preset_name="Casino" text="Similar but different tags:" />
     6634            <preset_link preset_name="Bookmaker" text="Similar but different tags:" />
    65716635        </item> <!-- Lottery -->
    65726636        <item name="Bag" icon="presets/shop/bag.svg" type="node,closedway,multipolygon" preset_name_label="true">
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16479 r16480  
    25652565area[amenity=biergarten],
    25662566area[amenity=nightclub],
     2567area[amenity=amusement_arcade],
     2568area[amenity=adult_gaming_centre],
     2569area[amenity=gambling],
    25672570area[amenity=stripclub],
    25682571area[amenity=casino],
     
    25862589node[amenity=nightclub] {
    25872590    icon-image: "presets/leisure/nightclub.svg";
     2591    set icon_z17;
     2592}
     2593node[amenity=amusement_arcade] {
     2594    icon-image: "presets/leisure/amusement_arcade.svg";
     2595    set icon_z17;
     2596}
     2597node[amenity=adult_gaming_centre] {
     2598    icon-image: "presets/leisure/adult_gaming_centre.svg";
     2599    set icon_z17;
     2600}
     2601node[amenity=gambling] {
     2602    icon-image: "presets/leisure/gambling.svg";
    25882603    set icon_z17;
    25892604}
Note: See TracChangeset for help on using the changeset viewer.