name: ca: Rutes de Rem en: Paddling Routes fr: Itinéraires en pagayage it: Rotte per la navigazione a remo pl: Trasy wioślarskie pt-br: Rotas de navegação a remo tr: Kürek Rotaları type: overpass query: '2': relation[type=route][route~"^(|.*;)canoe(|;.*)$"][network~'^(|.*;)(ipn)(|;.*)$'] '4': relation[type=route][route~"^(|.*;)canoe(|;.*)$"][network~'^(|.*;)(ipn|npn)(|;.*)$'] '6': relation[type=route][route~"^(|.*;)canoe(|;.*)$"][network~'^(|.*;)(ipn|npn|rpn)(|;.*)$'] '8': relation[type=route][route~"^(|.*;)canoe(|;.*)$"][network~'^(|.*;)(ipn|npn|rpn|lpn)(|;.*)$'] '10': (relation[type=route][route~"^(|.*;)canoe(|;.*)$"] members: true feature: pre: |- {% set network = tags.network %} {% for n in tags.network|split(';') %} {% if n|matches('pn$') %}{% set network = n %}{% endif %} {% endfor %} priority: '{{ const[network].priority|default(4) }}' description: '{% if network %}{{ tagTrans(''network'', network) }}{% endif %}' listMarkerSymbol: '{{ markerLine({ ''width'': 4, ''color'': const[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 }}{% endif %}' styles: '' markerSymbol: '' memberFeature: pre: |- {% set priority = 4 %} {% set network = '' %} {% set refs = [] %} {% for master in masters %} {% set masterNetwork = '' %} {% for n in master.tags.network|split(';') %} {% if n|matches('pn$') %}{% set masterNetwork = n %}{% endif %} {% endfor %} {% set _p = const[masterNetwork].priority|default(4) %} {% if _p < priority %} {% set priority = _p %} {% set network = masterNetwork %} {% 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 %} |