{
    "type": "overpass",
    "name": {
        "ast": "Formaciones naturales",
        "cs": "Přírodní úkazy",
        "de": "Naturformationen",
        "el": "Φυσικοί Σχηματισμοί",
        "en": "Natural Formations",
        "fr": "Éléments naturels",
        "hu": "Természeti képződmények",
        "it": "Natura",
        "ja": "自然地層",
        "nl": "Natuurlijke Formaties",
        "pt": "Formações naturais",
        "pt-br": "Formações naturais",
        "ru": "Природные образования",
        "uk": "Природне середовище"
    },
    "query": {
        "9": [
            "(",
            "node[natural~\"^(peak|volcano|valley)$\"];",
            ")"
        ],
        "13": [
            "(",
            "nwr[natural~\"^(peak|volcano|wood|glacier|cape|peninsula|beach|coastline|reef|hill|valley|ridge|arete|saddle|sinkhole|cave_entrance|isthmus)$\"];",
            ")"
        ],
        "16": [
            "(",
            "nwr[natural][natural!~\"^(water|divide|bay|strait|spring|hot_spring|geyser|tree)$\"];",
            ")"
        ],
        "18": [
            "(",
            "nwr[natural][natural!~\"^(water|divide|bay|strait|spring|hot_spring|geyser)$\"];",
            ")"
        ]
    },
    "feature": {
        "title": [
            "{{ localizedTag(tags, 'name') | default(trans('unnamed')) }}",
            "{% if tags.natural == 'peak' and tags.ele %}({{ tags.ele }}m){% endif %}"
        ],
        "description": "{{ tagTrans('natural', tags.natural) }}",
        "style": {
            "color": "{{ const[tags.natural].color|default('#f2756a') }}"
        },
        "markerSign": "<span style='color: white'>{{ const[tags.natural].sign|raw }}</span>",
        "markerSymbol": "{{ markerPointer({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}",
        "listMarkerSymbol": "{{ markerCircle({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}"
    },
    "filter": {
        "type": {
            "name": "{{ trans('filter:type') }}",
            "key": "natural",
            "type": "select",
            "show_default": "true",
            "values": "{% set list = [] %}{% for k, v in const %}<option value=\"{{ k }}\">{% set list = list|merge([ k ]) %}{{ tagTrans('natural', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[natural][natural!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
            "sort": "natsort",
            "op": "has"
        }
    },
    "const": {
        "wood": {
            "zoom": 13,
            "sign": "<i class='fas fa-tree'></i>",
            "color": "darkgreen",
            "group": "vegetation"
        },
        "tree_row": {
            "zoom": 16,
            "sign": "<i class='fas fa-tree'></i>",
            "color": "darkgreen",
            "group": "vegetation"
        },
        "tree": {
            "zoom": 18,
            "sign": "<i class='fas fa-tree'></i>",
            "color": "darkgreen",
            "group": "vegetation"
        },
        "scrub": {
            "zoom": 16,
            "sign": "",
            "color": "green",
            "group": "vegetation"
        },
        "heath": {
            "zoom": 16,
            "sign": "",
            "color": "green",
            "group": "vegetation"
        },
        "moor": {
            "zoom": 13,
            "sign": "",
            "color": "#8aba50",
            "group": "vegetation"
        },
        "grassland": {
            "zoom": 16,
            "sign": "",
            "color": "#00dd24",
            "group": "vegetation"
        },
        "fell": {
            "zoom": 16,
            "sign": "",
            "color": "#49ba91",
            "group": "vegetation"
        },
        "bare_rock": {
            "zoom": 16,
            "sign": "",
            "color": "#6f6f6f",
            "group": "vegetation"
        },
        "scree": {
            "zoom": 16,
            "sign": "",
            "color": "#6f6f6f",
            "group": "vegetation"
        },
        "shingle": {
            "zoom": 16,
            "sign": "",
            "color": "#6f6f6f",
            "group": "vegetation"
        },
        "sand": {
            "zoom": 16,
            "sign": "",
            "color": "#f9d199",
            "group": "vegetation"
        },
        "mud": {
            "zoom": 16,
            "sign": "<img data-src='maki:wetland?fill=white'>",
            "color": "#988b00",
            "group": "vegetation"
        },
        "wetland": {
            "zoom": 16,
            "sign": "<img data-src='maki:wetland?fill=white'>",
            "color": "#00baff",
            "group": "water"
        },
        "glacier": {
            "zoom": 13,
            "sign": "<i style='color: black;' class='fas fa-icicles'></i>",
            "color": "white",
            "group": "water"
        },
        "cape": {
            "zoom": 13,
            "sign": "",
            "color": "#1d7500",
            "group": "water"
        },
        "peninsula": {
            "zoom": 13,
            "sign": "",
            "color": "#1d7500",
            "group": "water"
        },
        "beach": {
            "zoom": 13,
            "sign": "<i class='fas fa-umbrella-beach'></i>",
            "color": "#ff7f50",
            "group": "water"
        },
        "coastline": {
            "zoom": 13,
            "sign": "",
            "color": "blue",
            "group": "water"
        },
        "reef": {
            "zoom": 13,
            "sign": "",
            "color": "#005fbd",
            "group": "water"
        },
        "peak": {
            "zoom": 9,
            "sign": "<i class='fas fa-mountain'></i>",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "hill": {
            "zoom": 13,
            "sign": "",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "volcano": {
            "zoom": 9,
            "sign": "",
            "color": "#cf3a00",
            "group": "landform"
        },
        "valley": {
            "zoom": 9,
            "sign": "",
            "color": "#1d7500",
            "group": "landform"
        },
        "river_terrace": {
            "zoom": 16,
            "sign": "",
            "color": "#a0a500",
            "group": "landform"
        },
        "ridge": {
            "zoom": 13,
            "sign": "",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "arete": {
            "zoom": 13,
            "sign": "",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "cliff": {
            "zoom": 16,
            "sign": "",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "saddle": {
            "zoom": 13,
            "sign": "",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "rock": {
            "zoom": 16,
            "sign": "",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "stone": {
            "zoom": 16,
            "sign": "",
            "color": "#4f4f4f",
            "group": "landform"
        },
        "sinkhole": {
            "zoom": 13,
            "sign": "",
            "color": "#a0a500",
            "group": "landform"
        },
        "cave_entrance": {
            "zoom": 13,
            "sign": "",
            "color": "#000000",
            "group": "landform"
        },
        "isthmus": {
            "zoom": 13,
            "sign": "",
            "color": "#1d7500",
            "group": "landform"
        }
    },
    "info": [
        "<table>",
        "  {% for k, data in const %}",
        "    {% if data.zoom <= map.zoom %}",
        "    <tr>",
        "      <td>",
        "        {{ markerCircle({ fillColor: data.color })|raw }}<div class='sign'>{{ data.sign|raw }}</div>",
        "      </td>",
        "      <td>{{ tagTrans('natural', k) }}</td>",
        "    </tr>",
        "    {% endif %}",
        "  {% endfor %}",
        "</table>"
    ]
}