{ "type": "overpass", "name": { "de": "Wanderrouten", "en": "Hiking routes", "fr": "Itinéraires pédestres", "pt": "Rotas de caminhada", "pt-br": "Rotas de Caminhada" }, "query": { "10": "relation[type=route][route=hiking][network~\"^(iwn)$\"]", "11": "relation[type=route][route=hiking][network~\"^(iwn|nwn)$\"]", "12": "relation[type=route][route=hiking][network~\"^(iwn|nwn|rwn)$\"]", "14": "relation[type=route][route=hiking]" }, "members": true, "feature": { "priority": "{{ const[tags.network].priority|default(4) }}", "description": "{% if tags.network %}{{ tagTrans('network', tags.network) }}{% endif %}", "listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': const[tags.network|default('')].color|default(const[''].color) })|raw }}", "title": "{% if tags.ref and tags.name %}{{ tags.ref }} - {{ tags.name }}{% elseif tags.ref %}{{ tags.ref }}{% elseif tags.name %}{{ tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}", "styles": "", "markerSymbol": "" }, "memberFeature": { "pre": [ "{% set priority = 4 %}", "{% set network = '' %}", "{% set refs = [] %}", "", "{% for master in masters %}", " {% set _p = const[master.tags.network].priority|default(4) %}", " {% if _p < priority %}", " {% set priority = _p %}", " {% set network = master.tags.network %}", " {% endif %}", " {% if master.tags.ref %}", " {% set refs = refs|merge([ master.tags.ref ]) %}", " {% endif %}", "{% endfor %}" ], "body": [ "
{{ markerLine({ 'width': 4, color: data.color })|raw }} | ", "{% if value %}{{ tagTrans('network', value) }}{% else %}{{ trans('unknown') }}{% endif %} | ", "