You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
query:
|
|
12: |
|
|
(
|
|
node[~"^red_turn:.*:bicycle$"~"^(yes|stop)$"];
|
|
relation["restriction:bicycle"="give_way"];
|
|
relation["restriction:bicycle"="stop"];
|
|
)
|
|
members: true
|
|
feature:
|
|
title: |
|
|
{{ tagTrans('highway', tags.highway) }}
|
|
body: |
|
|
<ul>
|
|
{% for k, v in tags %}
|
|
{% if k|matches('^red_turn:.*:bicycle$') and v in ['yes', 'stop'] %}<li>{{ k }}={{ v }}</li>{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
exclude: |
|
|
{{ type == 'relation' }}
|
|
memberFeature:
|
|
title: |
|
|
{{ tagTrans('highway', tags.highway) }}
|
|
exclude: |
|
|
{% set isVia = false %}
|
|
{% set restriction = null %}
|
|
{% for master in masters %}
|
|
{% if attribute(master.tags, 'restriction:bicycle') in ['give_way', 'stop'] and master.role == 'via' %}
|
|
{% set isVia = true %}
|
|
{% set restriction = attribute(master.tags, 'restriction:bicycle') %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{{ not isVia }}
|
|
body: |
|
|
<ul>
|
|
<li>restriction:bicycle={{ restriction }}</li>
|
|
</ul>
|
|
markerSymbol: |
|
|
{{ markerPointer({})|raw }}
|
|
listMarkerSymbol: |
|
|
{{ markerCircle({})|raw }}
|