2 Commits

  1. 35
      cycle_turn_on_red.yaml

35
cycle_turn_on_red.yaml

@ -0,0 +1,35 @@
query:
12: |
(
node[~"^red_turn:.*:bicycle$"~"^yes$"];
relation["restriction:bicycle"="give_way"];
)
members: true
feature:
title: |
{{ tagTrans('highway', tags.highway) }}
body: |
<ul>
{% for k, v in tags %}
{% if k|matches('^red_turn:.*:bicycle$') and v == 'yes' %}<li>{{ k }}={{ v }}</li>{% endif %}
{% endfor %}
</ul>
exclude: |
{{ type == 'relation' }}
memberFeature:
title: |
{{ tagTrans('highway', tags.highway) }}
exclude: |
{% set isVia = false %}
{% for master in masters %}
{% if attribute(master.tags, 'restriction:bicycle') == 'give_way' and master.role == 'via' %}{% set isVia = true %}{% endif %}
{% endfor %}
{{ not isVia }}
body: |
<ul>
<li>restriction:bicycle=give_way</li>
</ul>
markerSymbol: |
{{ markerPointer({})|raw }}
listMarkerSymbol: |
{{ markerCircle({})|raw }}
Loading…
Cancel
Save