Changeset 9285 in josm


Ignore:
Timestamp:
2016-01-03T22:30:16+01:00 (9 years ago)
Author:
Klumbumbus
Message:

see ​#12190 - add presets and mappaint style for social facilities (icons see [o31930]); drop mappaint support of amenity=nursery

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r9219 r9285  
    46144614            <reference ref="link_contact_address_payment" />
    46154615        </item> <!-- Dentist -->
    4616         <item name="Nursing Home" type="node,closedway" preset_name_label="true">
    4617             <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=nursing_home"
    4618                   de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:amenity=nursing_home"
    4619                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:amenity=nursing_home"
    4620                   pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:amenity=nursing_home"
    4621                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:amenity=nursing_home" />
    4622             <space />
    4623             <key key="amenity" value="nursing_home" />
    4624             <reference ref="name_operator" />
    4625             <reference ref="link_contact_address" />
    4626         </item> <!-- Nursing Home -->
    4627         <item name="Retirement Home" type="node,closedway" preset_name_label="true">
    4628             <link href="http://wiki.openstreetmap.org/wiki/Key:social_facility"
    4629                   de.href="http://wiki.openstreetmap.org/wiki/DE:Key:social_facility"
    4630                   es.href="http://wiki.openstreetmap.org/wiki/ES:Key:social_facility"
    4631                   fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:social_facility"
    4632                   ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:social_facility"
    4633                   pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:social_facility"
    4634                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:social_facility" />
    4635             <space />
    4636             <key key="amenity" value="social_facility" />
    4637             <key key="social_facility" value="group_home" />
    4638             <key key="social_facility:for" value="senior" />
    4639             <reference ref="name_operator" />
    4640             <text key="capacity" text="Capacity" />
    4641             <reference ref="link_contact_address" />
    4642         </item> <!-- Retirement Home -->
    46434616        <item name="Pharmacy" icon="styles/standard/health/pharmacy.png" type="node,closedway" preset_name_label="true">
    46444617            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=pharmacy"
     
    47094682        </item> <!-- Veterinary -->
    47104683    </group> <!-- Health -->
     4684    <group name="Social Facility" icon="styles/standard/social_facility/outreach.svg">
     4685        <item name="Nursing Home" icon="styles/standard/social_facility/group_home.svg" type="node,closedway" preset_name_label="true">
     4686            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=nursing_home"
     4687                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:amenity=nursing_home"
     4688                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:amenity=nursing_home"
     4689                  pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:amenity=nursing_home"
     4690                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:amenity=nursing_home" />
     4691            <space />
     4692            <key key="amenity" value="nursing_home" />
     4693            <reference ref="name_operator" />
     4694            <text key="capacity" text="Capacity" />
     4695            <reference ref="link_contact_address" />
     4696        </item> <!-- Nursing Home -->
     4697        <item name="Group Home" icon="styles/standard/social_facility/group_home.svg" type="node,closedway" preset_name_label="true">
     4698            <link href="http://wiki.openstreetmap.org/wiki/Key:social_facility"
     4699                  de.href="http://wiki.openstreetmap.org/wiki/DE:Key:social_facility"
     4700                  es.href="http://wiki.openstreetmap.org/wiki/ES:Key:social_facility"
     4701                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:social_facility"
     4702                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:social_facility"
     4703                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:social_facility"
     4704                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:social_facility" />
     4705            <space />
     4706            <key key="amenity" value="social_facility" />
     4707            <key key="social_facility" value="group_home" />
     4708            <reference ref="name_operator" />
     4709            <combo key="social_facility:for" text="For" value="senior" default="senior" />
     4710            <text key="capacity" text="Capacity" />
     4711            <reference ref="link_contact_address" />
     4712        </item> <!-- Group Home -->
     4713        <item name="Assisted Living" icon="styles/standard/social_facility/assisted_living.svg" type="node,closedway" preset_name_label="true">
     4714            <link href="http://wiki.openstreetmap.org/wiki/Key:social_facility"
     4715                  de.href="http://wiki.openstreetmap.org/wiki/DE:Key:social_facility"
     4716                  es.href="http://wiki.openstreetmap.org/wiki/ES:Key:social_facility"
     4717                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:social_facility"
     4718                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:social_facility"
     4719                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:social_facility"
     4720                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:social_facility" />
     4721            <space />
     4722            <key key="amenity" value="social_facility" />
     4723            <key key="social_facility" value="assisted_living" />
     4724            <reference ref="name_operator" />
     4725            <combo key="social_facility:for" text="For" value="senior" default="senior" />
     4726            <text key="capacity" text="Capacity" />
     4727            <reference ref="link_contact_address" />
     4728        </item> <!-- Assisted Living -->
     4729        <item name="Outreach" icon="styles/standard/social_facility/outreach.svg" type="node,closedway" preset_name_label="true">
     4730            <link href="http://wiki.openstreetmap.org/wiki/Key:social_facility"
     4731                  de.href="http://wiki.openstreetmap.org/wiki/DE:Key:social_facility"
     4732                  es.href="http://wiki.openstreetmap.org/wiki/ES:Key:social_facility"
     4733                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:social_facility"
     4734                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:social_facility"
     4735                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:social_facility"
     4736                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:social_facility" />
     4737            <space />
     4738            <key key="amenity" value="social_facility" />
     4739            <key key="social_facility" value="outreach" />
     4740            <reference ref="name_operator_oh_wheelchair" />
     4741            <reference ref="link_contact_address" />
     4742        </item> <!-- Outreach -->
     4743        <item name="Shelter" name_context="social_facility" icon="styles/standard/social_facility/shelter.svg" type="node,closedway" preset_name_label="true">
     4744            <link href="http://wiki.openstreetmap.org/wiki/Key:social_facility"
     4745                  de.href="http://wiki.openstreetmap.org/wiki/DE:Key:social_facility"
     4746                  es.href="http://wiki.openstreetmap.org/wiki/ES:Key:social_facility"
     4747                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:social_facility"
     4748                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:social_facility"
     4749                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:social_facility"
     4750                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:social_facility" />
     4751            <space />
     4752            <key key="amenity" value="social_facility" />
     4753            <key key="social_facility" value="shelter" />
     4754            <reference ref="name_operator" />
     4755            <text key="capacity" text="Capacity" />
     4756            <reference ref="link_contact_address" />
     4757        </item> <!-- Shelter -->
     4758        <item name="Food Bank" icon="styles/standard/social_facility/food_bank.svg" type="node,closedway" preset_name_label="true">
     4759            <link href="http://wiki.openstreetmap.org/wiki/Key:social_facility"
     4760                  de.href="http://wiki.openstreetmap.org/wiki/DE:Key:social_facility"
     4761                  es.href="http://wiki.openstreetmap.org/wiki/ES:Key:social_facility"
     4762                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Key:social_facility"
     4763                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Key:social_facility"
     4764                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Key:social_facility"
     4765                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Key:social_facility" />
     4766            <space />
     4767            <key key="amenity" value="social_facility" />
     4768            <key key="social_facility" value="food_bank" />
     4769            <reference ref="name_operator_oh_wheelchair" />
     4770            <reference ref="link_contact_address" />
     4771        </item> <!-- Food Bank -->
     4772    </group> <!-- Social Facility -->
    47114773    <group name="Facilities" icon="presets/telephone.png">
    47124774        <item name="Toilets/Restrooms" icon="presets/toilet.png" type="node,closedway" preset_name_label="true">
  • trunk/styles/standard/elemstyles.mapcss

    r9275 r9285  
    27412741area[amenity=nursing_home],
    27422742area[amenity=social_facility],
    2743 area[amenity=nursery],
    27442743area[amenity=baby_hatch],
    27452744area[amenity=doctors],
     
    27602759}
    27612760node[amenity=nursing_home],
    2762 node[amenity=social_facility],
    2763 node[amenity=nursery] {
    2764     icon-image: "misc/no_icon.png";
     2761node[amenity=social_facility][social_facility=group_home] {
     2762    icon-image: "social_facility/group_home.svg";
     2763    set icon_z17;
     2764    text: auto;
     2765}
     2766node[amenity=social_facility][social_facility=assisted_living] {
     2767    icon-image: "social_facility/assisted_living.svg";
     2768    set icon_z17;
     2769    text: auto;
     2770}
     2771node[amenity=social_facility][social_facility=outreach] {
     2772    icon-image: "social_facility/outreach.svg";
     2773    set icon_z17;
     2774    text: auto;
     2775}
     2776node[amenity=social_facility][social_facility=shelter] {
     2777    icon-image: "social_facility/shelter.svg";
     2778    set icon_z17;
     2779    text: auto;
     2780}
     2781node[amenity=social_facility][social_facility=food_bank] {
     2782    icon-image: "social_facility/food_bank.svg";
    27652783    set icon_z17;
    27662784    text: auto;
Note: See TracChangeset for help on using the changeset viewer.