Changeset 9011 in josm


Ignore:
Timestamp:
2015-11-15T16:40:19+01:00 (18 months ago)
Author:
Klumbumbus
Message:

see #12035 - add office=* items to internal preset and mappaint style

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r8983 r9011  
    74447444    </item> <!-- Payment Methods -->
    74457445  </group> <!-- Shops -->
     7446  <group name="Offices" icon="icons/office_blue.png">
     7447    <item name="Accountant" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7448        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=accountant" />
     7449        <space />
     7450        <key key="office" value="accountant" />
     7451        <reference ref="name_operator_oh_wheelchair" />
     7452        <reference ref="link_contact_address" />
     7453    </item>
     7454    <item name="Administrative" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7455        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=administrative" />
     7456        <space />
     7457        <key key="office" value="administrative" />
     7458        <reference ref="name_operator_oh_wheelchair" />
     7459        <reference ref="link_contact_address" />
     7460    </item>
     7461    <item name="Advertising agency" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7462        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=advertising_agency" />
     7463        <space />
     7464        <key key="office" value="advertising_agency" />
     7465        <reference ref="name_operator_oh_wheelchair" />
     7466        <reference ref="link_contact_address" />
     7467    </item>
     7468    <item name="Architect" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7469        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=architect" />
     7470        <space />
     7471        <key key="office" value="architect" />
     7472        <reference ref="name_operator_oh_wheelchair" />
     7473        <reference ref="link_contact_address" />
     7474    </item>
     7475    <item name="Association" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7476        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=association" />
     7477        <space />
     7478        <key key="office" value="association" />
     7479        <reference ref="name_operator_oh_wheelchair" />
     7480        <reference ref="link_contact_address" />
     7481    </item>
     7482    <item name="Private company" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7483        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=company" />
     7484        <space />
     7485        <key key="office" value="company" />
     7486        <reference ref="name_oh_wheelchair" />
     7487        <reference ref="link_contact_address" />
     7488    </item>
     7489    <item name="Educational institution" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7490        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=educational_institution" />
     7491        <space />
     7492        <key key="office" value="educational_institution" />
     7493        <reference ref="name_operator_oh_wheelchair" />
     7494        <reference ref="link_contact_address" />
     7495    </item>
     7496    <item name="Employment agency" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7497        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=employment_agency" />
     7498        <space />
     7499        <key key="office" value="employment_agency" />
     7500        <reference ref="name_brand_operator_oh_wheelchair" />
     7501        <reference ref="link_contact_address" />
     7502    </item>
     7503    <item name="Estate agent" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7504        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=estate_agent" />
     7505        <space />
     7506        <key key="office" value="estate_agent" />
     7507        <reference ref="name_operator_oh_wheelchair" />
     7508        <reference ref="link_contact_address" />
     7509    </item>
     7510    <item name="Foundation" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7511        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=foundation" />
     7512        <space />
     7513        <key key="office" value="foundation" />
     7514        <reference ref="name_brand_operator_oh_wheelchair" />
     7515        <reference ref="link_contact_address" />
     7516    </item>
     7517    <item name="Government" icon="icons/office_pink.png" name_context="office" type="node,closedway" preset_name_label="true">
     7518        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=government" />
     7519        <space />
     7520        <key key="office" value="government" />
     7521        <reference ref="name_oh_wheelchair" />
     7522        <reference ref="link_contact_address" />
     7523    </item>
     7524    <item name="Insurance" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7525        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=insurance" />
     7526        <space />
     7527        <key key="office" value="insurance" />
     7528        <reference ref="name_brand_operator_oh_wheelchair" />
     7529        <reference ref="link_contact_address" />
     7530    </item>
     7531    <item name="It specialist" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7532        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=it" />
     7533        <space />
     7534        <key key="office" value="it" />
     7535        <reference ref="name_oh_wheelchair" />
     7536        <reference ref="link_contact_address" />
     7537    </item>
     7538    <item name="Lawyer" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7539        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=lawyer" />
     7540        <space />
     7541        <key key="office" value="lawyer" />
     7542        <reference ref="name_operator_oh_wheelchair" />
     7543        <reference ref="link_contact_address" />
     7544    </item>
     7545    <item name="Newspaper" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7546        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=newspaper" />
     7547        <space />
     7548        <key key="office" value="newspaper" />
     7549        <reference ref="name_operator_oh_wheelchair" />
     7550        <reference ref="link_contact_address" />
     7551    </item>
     7552    <item name="Non-governmental organisation (NGO)" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7553        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=ngo" />
     7554        <space />
     7555        <key key="office" value="ngo" />
     7556        <reference ref="name_brand_operator_oh_wheelchair" />
     7557        <reference ref="link_contact_address" />
     7558    </item>
     7559    <item name="Notary" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7560        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=notary" />
     7561        <space />
     7562        <key key="office" value="notary" />
     7563        <reference ref="name_oh_wheelchair" />
     7564        <reference ref="link_contact_address" />
     7565    </item>
     7566    <item name="Political party" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7567        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=political_party" />
     7568        <space />
     7569        <key key="office" value="political_party" />
     7570        <reference ref="name_oh_wheelchair" />
     7571        <reference ref="link_contact_address" />
     7572    </item>
     7573    <item name="Religion" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7574        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=religion" />
     7575        <space />
     7576        <key key="office" value="religion" />
     7577        <reference ref="religious" />
     7578        <reference ref="oh_wheelchair" />
     7579        <reference ref="link_contact_address" />
     7580    </item>
     7581    <item name="Research" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7582        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=research" />
     7583        <space />
     7584        <key key="office" value="research" />
     7585        <reference ref="name_operator_oh_wheelchair" />
     7586        <reference ref="link_contact_address" />
     7587    </item>
     7588    <item name="Tax advisor" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7589        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=tax_advisor" />
     7590        <space />
     7591        <key key="office" value="tax_advisor" />
     7592        <reference ref="name_brand_operator_oh_wheelchair" />
     7593        <reference ref="link_contact_address" />
     7594    </item>
     7595    <item name="Telecommunication" icon="icons/office_blue.png" name_context="office" type="node,closedway" preset_name_label="true">
     7596        <link href="http://wiki.openstreetmap.org/wiki/Tag:office=telecommunication" />
     7597        <space />
     7598        <key key="office" value="telecommunication" />
     7599        <reference ref="name_brand_operator_oh_wheelchair" />
     7600        <reference ref="link_contact_address" />
     7601    </item>
     7602  </group> <!-- Offices -->
    74467603  <group name="Geography" icon="presets/peak.svg">
    74477604    <group name="Boundaries" icon="presets/boundaries.png">
  • trunk/styles/standard/elemstyles.mapcss

    r9009 r9011  
    14961496/***************/
    14971497
    1498 area[office=company],
    1499 area[office=government] {
     1498node[office=accountant],
     1499node[office=administrative],
     1500node[office=advertising_agency],
     1501node[office=architect],
     1502node[office=association],
     1503node[office=company],
     1504node[office=educational_institution],
     1505node[office=employment_agency],
     1506node[office=estate_agent],
     1507node[office=foundation],
     1508node[office=government],
     1509node[office=insurance],
     1510node[office=it],
     1511node[office=lawyer],
     1512node[office=newspaper],
     1513node[office=ngo],
     1514node[office=notary],
     1515node[office=political_party],
     1516node[office=religion],
     1517node[office=research],
     1518node[office=tax_advisor],
     1519node[office=telecommunication] {
    15001520    fill-color: office#de5696;
    15011521}
    1502 node[office=company] {
     1522node[office=accountant],
     1523node[office=administrative],
     1524node[office=advertising_agency],
     1525node[office=architect],
     1526node[office=association],
     1527node[office=company],
     1528node[office=educational_institution],
     1529node[office=employment_agency],
     1530node[office=estate_agent],
     1531node[office=foundation],
     1532node[office=insurance],
     1533node[office=it],
     1534node[office=lawyer],
     1535node[office=newspaper],
     1536node[office=ngo],
     1537node[office=notary],
     1538node[office=political_party],
     1539node[office=religion],
     1540node[office=research],
     1541node[office=tax_advisor],
     1542node[office=telecommunication] {
    15031543    icon-image: "icons/office_blue.png";
    15041544    set icon_z17;
Note: See TracChangeset for help on using the changeset viewer.