Changeset 18897 in josm


Ignore:
Timestamp:
2023-11-14T18:08:56+01:00 (7 months ago)
Author:
taylor.smock
Message:

Add/Ignore popular tags

Add

  • informal=no -- this appears to be used for trails that appear to be informal=yes but are not.
  • highway=trailhead
    • Icon drawn by taylor.smock
  • amenity=letterbox
    • Additionally adds post:* tags, copied from addr:* tags
    • Icon drawn by taylor.smock; a better icon would be much appreciated
  • building=stadium -- added as a checkbox to leisure=stadium and the default building preset

Ignore

  • building=no -- this is already covered in unnecessary.mapcss
Location:
trunk/resources
Files:
2 added
3 edited

Legend:

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

    r18873 r18897  
    12621262                <checkgroup columns="2">
    12631263                    <check key="segregated" text="Segregated" />
    1264                     <check key="informal" text="Informal" disable_off="true" />
     1264                    <check key="informal" text="Informal" />
    12651265                </checkgroup>
    12661266                <combo key="foot" text="Foot" values="yes,official,designated,permissive,destination,delivery,permit,private,no" values_sort="false" />
     
    16461646            <text key="name" text="Name" />
    16471647        </item> <!-- Named Junction -->
     1648        <item name="Trailhead" icon="presets/landmark/trailhead.svg" type="node,closedway,multipolygon" preset_name_label="true">
     1649            <link wiki="Tag:highway=trailhead" />
     1650            <key key="highway" value="trailhead" />
     1651            <reference ref="name_operator"/>
     1652            <optional>
     1653                <reference ref="fee" />
     1654                <text key="website" text="Website" />
     1655                <check key="drinking_water" text="Drinking Water" />
     1656                <check key="toilets" text="Toilets" />
     1657                <check key="bin" text="Waste Basket/Trash Can" />
     1658            </optional>
     1659            <preset_link preset_name="Access Restrictions" />
     1660        </item> <!-- Trailhead -->
    16481661        <separator/>
    16491662        <item name="Elevator" icon="presets/service/elevator.svg" type="node,way,closedway" preset_name_label="true">
     
    49925005            <check key="drive_through" text="Drive through" />
    49935006        </item> <!-- Post Box -->
     5007        <item name="Private Mailbox" icon="presets/service/letter_box.svg" type="node" preset_name_label="true">
     5008            <link wiki="Tag:amenity=letter_box" />
     5009            <space />
     5010            <key key="amenity" value="letter_box" />
     5011            <!-- post:<*> keys were copied from Address, with the addr: replaced by post: -->
     5012            <optional>
     5013                <reference ref="support"/>
     5014                <text key="post:housenumber" text="House number" match="key" auto_increment="-2,-1,+1,+2" />
     5015                <text key="post:street" text="Street name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
     5016                <text key="post:city" text="City name" use_last_as_default="force" match="key" />
     5017                <text key="post:postcode" text="Post code" use_last_as_default="force" match="key" />
     5018                <combo key="post:country" text="Country code" values_from="java.util.Locale#getISOCountries" use_last_as_default="force" match="key" values_context="country codes" />
     5019            </optional>
     5020            <optional text="Optional tag only for address without post:street">
     5021                <text key="post:place" text="Place name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
     5022            </optional>
     5023            <optional text="Optional tags for specific countries">
     5024                <text key="post:unit" text="Unit/Suite" match="key" />
     5025                <text key="post:housename" text="House name" match="key" alternative_autocomplete_keys="name" />
     5026                <text key="post:hamlet" text="Hamlet" match="key" />
     5027                <text key="post:suburb" text="Suburb" use_last_as_default="force" match="key" />
     5028                <text key="post:subdistrict" text="Subdistrict" use_last_as_default="force" match="key" />
     5029                <text key="post:district" text="District" use_last_as_default="force" match="key" />
     5030                <text key="post:province" text="Province" use_last_as_default="force" match="key" />
     5031                <!-- US States as defined in ISO 3166-2 -->
     5032                <combo key="post:state" text="State" text_context="addr:" values="AL,AK,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,ME,MD,MA,MI,MN,MS,MO,MT,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,DC,AS,GU,MP,PR,UM,VI" use_last_as_default="force" match="key" />
     5033            </optional>
     5034            <preset_link preset_name="Post Box" text="Similar but different tags:" />
     5035            <preset_link preset_name="Post Office" text="Similar but different tags:" />
     5036        </item> <!-- Private Mailbox -->
    49945037        <item name="Telephone" icon="presets/service/telephone.svg" type="node" preset_name_label="true">
    49955038            <link wiki="Tag:amenity=telephone" />
     
    52265269            <text key="name" text="Name" />
    52275270            <reference ref="sport" />
     5271            <check key="building" text="Stadium Building" value_on="stadium" disable_off="true" />
    52285272            <reference ref="link_contact_address_payment" />
    52295273        </item> <!-- Stadium -->
     
    57995843            <link wiki="Key:building" />
    58005844            <space />
    5801             <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,boathouse,bunker,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,digester,farm_auxiliary,fire_station,garage,garages,gasometer,gatehouse,grandstand,greenhouse,hangar,hospital,industrial,kindergarten,kiosk,manufacture,monastery,mosque,office,pavilion,parking,public,retail,riding_hall,roof,ruins,school,service,shed,silo,sports_centre,sports_hall,stable,storage_tank,sty,supermarket,synagogue,temple,tent,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
     5845            <combo key="building" text="Building" values="allotment_house,bakehouse,barn,basilica,boathouse,bunker,cabin,carport,cathedral,chapel,church,college,commercial,construction,cowshed,digester,farm_auxiliary,fire_station,garage,garages,gasometer,gatehouse,grandstand,greenhouse,hangar,hospital,industrial,kindergarten,kiosk,manufacture,monastery,mosque,office,pavilion,parking,public,retail,riding_hall,roof,ruins,school,service,shed,silo,sports_centre,sports_hall,stable,stadium,storage_tank,sty,supermarket,synagogue,temple,tent,toilets,train_station,transformer_tower,transportation,university,warehouse,yes" values_context="building" default="yes" match="keyvalue!" values_searchable="true" />
    58025846            <optional>
    58035847                <reference ref="name_operator" />
  • trunk/resources/data/validator/ignoretags.cfg

    r18884 r18897  
    416416K:barrier=wire_fence
    417417K:barrier=wood_fence
     418K:building=no
    418419K:highway=ford
    419420K:highway=stile
  • trunk/resources/styles/standard/elemstyles.mapcss

    r18843 r18897  
    859859node[highway=rest_area] {
    860860    icon-image: "presets/vehicle/rest_area.svg";
     861    set icon_z17;
     862}
     863area[highway=trailhead] {
     864    fill-color: services#c0c0c0;
     865}
     866node[highway=trailhead] {
     867    icon-image: "presets/landmark/trailhead.svg";
    861868    set icon_z17;
    862869}
     
    33193326    set icon_z17;
    33203327}
     3328node[amenity=letter_box] {
     3329    icon-image: "presets/service/letter_box.svg";
     3330    set icon_z17;
     3331}
    33213332node[amenity=studio] {
    33223333    icon-image: "presets/service/studio.svg";
Note: See TracChangeset for help on using the changeset viewer.