Browse Source

Update 'edible-trees.json'

test
parent
commit
5199e62574
  1. 32
      edible-trees.json

32
edible-trees.json

@ -1,25 +1,39 @@
{ {
"type": "overpass", "type": "overpass",
"name": { "name": {
"en": "Edible Trees",
"de": "Essbare Bäume"
"en": "Edible Plants",
"de": "Essbare Gewächse"
}, },
"query": { "query": {
"14": [ "14": [
"(", "(",
"node[natural=tree][species~\"^(Malus|Pyrus|Morus|Prunus persica|Prunus cerasus)\"];",
"node[species~\"(Malus|Pyrus|Morus|Prunus persica|Prunus cerasus)\"];",
"node[taxon~\"(Malus|Pyrus|Morus|Prunus persica|Prunus cerasus)\"];",
");" ");"
] ]
}, },
"feature": { "feature": {
"description": "{{ localizedTag(tags, 'species') }}",
"markerSign": [
"{% for data in const %}",
"{% if tags.species|matches(data.match) %}",
"{{ data.icon }}",
"pre": [
"{% if tags.taxon %}",
"{% set species = tags.taxon %}",
"{% else %}",
"{% set species = tags.species %}",
"{% endif %}",
"",
"{% for d in const %}",
"{% if species|matches(d.match) %}",
"{% set data = d }}",
"{% endif %}", "{% endif %}",
"{% endfor %}" "{% endfor %}"
]
],
"description": [
"{% if tags.taxon %}",
"{{ localizedTag(tags, 'taxon') }}",
"{% else %}",
"{{ localizedTag(tags, 'species') }}",
"{% endif %}"
],
"markerSign": "{{ data.icon }}"
}, },
"info": [ "info": [
"<table>", "<table>",

Loading…
Cancel
Save