diff --git a/edible-trees.json b/edible-trees.json new file mode 100644 index 0000000..7441abf --- /dev/null +++ b/edible-trees.json @@ -0,0 +1,61 @@ +{ + "type": "overpass", + "name": { + "en": "Edible Trees", + "de": "Essbare BΓ€ume" + }, + "query": { + "14": [ + "(", + "node[natural=tree][species~\"^(Malus|Pyrus|Morus|Prunus persica|Prunus cerasus)\"];", + ");" + ] + }, + "feature": { + "description": "{{ localizedTag(tags, 'species') }}", + "markerSign": [ + "{% for data in const %}", + "{% if tags.species|matches(data.match) %}", + "{{ data.icon }}", + "{% endif %}", + "{% endfor %}" + ] + }, + "info": [ + "
{{ markerCircle({})|raw }} {{ data.icon }} | ",
+ " {{ attribute(data, \"name:en\") }} | ", + "