Changeset 17045 in josm


Ignore:
Timestamp:
2020-09-19T20:13:28+02:00 (2 years ago)
Author:
Klumbumbus
Message:

see #19739 - Add icons for all sinkhole types, based on png icons from https://josm.openstreetmap.de/wiki/Presets/NewTags from Penegal, LGPL licensed, add anthropogenic and refitted checkboxes, make sinkhole values searchable

Location:
trunk/resources
Files:
5 added
2 edited

Legend:

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

    r17044 r17045  
    79117911            <space />
    79127912            <key key="natural" value="sinkhole" />
    7913             <combo key="sinkhole" text="Type" values="bluehole,doline,estavelle,pit,ponor" />
    7914             <optional>
     7913            <combo key="sinkhole" text="Type" values_searchable="true">
     7914                <list_entry value="bluehole" icon="presets/landmark/bluehole.svg" />
     7915                <list_entry value="doline" icon="presets/landmark/doline.svg" />
     7916                <list_entry value="estavelle" icon="presets/landmark/estavelle.svg" />
     7917                <list_entry value="pit" icon="presets/landmark/pit.svg" />
     7918                <list_entry value="ponor" icon="presets/landmark/ponor.svg" />
     7919            </combo>
     7920            <optional>
     7921                <check key="anthropogenic" text="Caused by human activity" disable_off="true" />
     7922                <check key="refitted" text="Modified by human hand" disable_off="true" />
    79157923                <reference ref="name_wikipedia_wikidata" />
    79167924            </optional>
  • trunk/resources/styles/standard/elemstyles.mapcss

    r17030 r17045  
    47914791    set icon_z17;
    47924792}
     4793node[natural=sinkhole][sinkhole=bluehole] {
     4794    icon-image: "presets/landmark/bluehole.svg";
     4795    set icon_z17;
     4796}
     4797node[natural=sinkhole][sinkhole=doline] {
     4798    icon-image: "presets/landmark/doline.svg";
     4799    set icon_z17;
     4800}
     4801node[natural=sinkhole][sinkhole=estavelle] {
     4802    icon-image: "presets/landmark/estavelle.svg";
     4803    set icon_z17;
     4804}
     4805node[natural=sinkhole][sinkhole=pit] {
     4806    icon-image: "presets/landmark/pit.svg";
     4807    set icon_z17;
     4808}
     4809node[natural=sinkhole][sinkhole=ponor] {
     4810    icon-image: "presets/landmark/ponor.svg";
     4811    set icon_z17;
     4812}
    47934813node[natural=cave_entrance] {
    47944814    icon-image: "presets/landmark/cave_entrance.svg";
Note: See TracChangeset for help on using the changeset viewer.