Modify ↓
#15871 closed enhancement (fixed)
[PATCH] extend preset natural=tree with denotation and circumference
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | 18.02 |
Component: | Internal preset | Version: | |
Keywords: | natural tree denotation circumference | Cc: |
Description (last modified by )
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 -->
Attachments (1)
Change History (6)
by , 7 years ago
Attachment: | defaultpresets.xml added |
---|
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Milestone: | → 18.02 |
---|
comment:3 by , 7 years ago
Keywords: | natural tree denotation circumference added |
---|---|
Summary: | extend preset natural=tree with denotation and circumference → [PATCH] extend preset natural=tree with denotation and circumference |
comment:5 by , 7 years ago
Changes I made to the patch:
- fixed several typos
- chunk is only useful if used several times
- added values_context as agricultural was already translated in a different context (access)
Note:
See TracTickets
for help on using tickets.
defaultpresets.xml extended with denotation (chunk at line 274, item at line 10447)