Opened 8 years ago
Last modified 8 years ago
#15871 closed enhancement
extend preset natural=tree with denotation and circumference — at Initial Version
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | 18.02 |
| Component: | Internal preset | Version: | |
| Keywords: | natural tree denotation circumference | Cc: |
Description
The preset for natural=tree misses input fields for circumference and denotation. Below my code for the chunk:
<chunk id="denotation">
<combo key="denotation" text="Cycle" values_searchable="true" >
<list_entry value="landmark" short_description="Trees remarkable due to its size or prominent location, usually visible from great distances and useful for navigation." />
<list_entry value="natural_monument" short_description="especially old tree, often with a particular shape. Usually protected for its uniqueness" />
<list_entry value="avenue" short_description="Trees aligned along a road." />
<list_entry value="urban" short_description="Trees found within settlements, e.g. in parks or spread through residential areas" />
<list_entry value="agricultural" short_description="Trees in agricultural use." />
</combo>
</chunk>
Below the completed code for the item, also added a missing link to Norwegian wiki page.
<item name="Tree" icon="presets/landmark/trees.svg" type="node" preset_name_label="true">
<link href="http://wiki.openstreetmap.org/wiki/Tag:natural=tree"
cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:natural=tree"
de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:natural=tree"
es.href="http://wiki.openstreetmap.org/wiki/ES:Tag:natural=tree"
fi.href="http://wiki.openstreetmap.org/wiki/Fi:Tag:natural=tree"
fr.href="http://wiki.openstreetmap.org/wiki/FR:Tag:natural=tree"
ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:natural=tree"
nl.href="http://wiki.openstreetmap.org/wiki/NL:Tag:natural=tree"
no.href="http://wiki.openstreetmap.org/wiki/NO:Tag:natural=tree"
pl.href="http://wiki.openstreetmap.org/wiki/Pl:Tag:natural=tree"
pt.href="http://wiki.openstreetmap.org/wiki/Pt:Tag:natural=tree"
ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:natural=tree"
uk.href="http://wiki.openstreetmap.org/wiki/Uk:Tag:natural=tree" />
<label text="A single tree." />
<space />
<key key="natural" value="tree" />
<text key="name" text="Name" />
<text key="height" text="Height (meters)" />
<text key="circumference" text="Circumference (meters)" />
<reference ref="genus_species_taxon" />
<reference ref="leaf" />
<reference ref="denotation" />
</item> <!-- Tree -->



defaultpresets.xml extended with denotation (chunk at line 274, item at line 10447)