Changeset 18687 in josm for trunk/resources


Ignore:
Timestamp:
2023-03-08T20:40:34+01:00 (20 months ago)
Author:
taylor.smock
Message:

Fix #22792: Add natural=shrubbery (icons from JeroenHoek, patch by JeroenHoek, modified)

Location:
trunk/resources
Files:
5 added
3 edited

Legend:

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

    r18681 r18687  
    87718771                <text key="start_date" text="Start date" />
    87728772            </optional>
     8773            <preset_link preset_name="Shrubbery" text="Similar but different tags:" />
    87738774        </item> <!-- Shrub -->
    87748775        <item name="Tree" icon="presets/landmark/trees.svg" type="node" preset_name_label="true">
     
    88098810            </optional>
    88108811        </item> <!-- Tree Row -->
     8812        <item name="Shrubbery" icon="presets/landmark/shrubbery.svg" type="closedway,multipolygon" preset_name_label="true">
     8813            <link wiki="Tag:natural=shrubbery" />
     8814            <space />
     8815            <label text="An area of shrubbery that is actively maintained or pruned by humans." />
     8816            <space />
     8817            <key key="natural" value="shrubbery" />
     8818            <optional>
     8819                <combo key="shrubbery:density" text="Effective density" values_searchable="true" values_sort="false">
     8820                    <list_entry value="sparse" icon="presets/landmark/shrubbery/shrubbery_density_sparse.svg" short_description="Sparsely planted shrubbery. Generally speaking able-bodied persons could walk through them (although this is usually not desirable)." />
     8821                    <list_entry value="medium" icon="presets/landmark/shrubbery/shrubbery_density_medium.svg" short_description="Shrubbery with a medium density. Able-bodied persons might be able to barge through it, but it takes some effort and might result in scratches or soiled clothing." />
     8822                    <list_entry value="dense" icon="presets/landmark/shrubbery/shrubbery_density_dense.svg" short_description="Densely planted shrubbery. Effectively impassible without damaging the shrubbery (which at this point often acts as a hedge) and getting your clothes torn." />
     8823                </combo>
     8824                <text key="height" text="(Average) height" length="7" />
     8825                <text key="shrubbery:shape" text="Shape (useful for hedges etc.)" />
     8826                <space />
     8827                <reference ref="genus_species_taxon"/>
     8828                <space />
     8829                <reference ref="leaf"/>
     8830            </optional>
     8831            <preset_link preset_name="Shrub" text="Similar but different tags:" />
     8832        </item> <!-- Shrubbery -->
    88118833        <separator />
    88128834        <item name="Wood" icon="presets/landmark/forest.svg" type="closedway,multipolygon" name_context="natural" preset_name_label="true">
  • trunk/resources/data/validator/geometry.mapcss

    r18653 r18687  
    7070node[natural=scree],
    7171node[natural=scrub],
     72node[natural=shrubbery],
    7273node[natural=water],
    7374node[natural=wetland],
  • trunk/resources/styles/standard/elemstyles.mapcss

    r18627 r18687  
    49784978    fill-color: scrub#007000;
    49794979}
     4980area[natural=shrubbery] {
     4981    fill-color: shrubbery#399a4e;
     4982}
    49804983area[natural=fell] {
    49814984    fill-color: natural#002f00;
     
    51235126node[natural=shingle],
    51245127node[natural=scrub],
     5128node[natural=shrubbery],
    51255129node[natural=fell],
    51265130node[natural=heath],
Note: See TracChangeset for help on using the changeset viewer.