Browse Source

footways: body, support sidewalk=left/right/both

parking-lanes
parent
commit
d92f554c80
  1. 4
      footways.yaml

4
footways.yaml

@ -120,7 +120,7 @@ feature:
</li>{% endif %} </li>{% endif %}
{% endif %} {% endif %}
{% if attribute(tags, 'sidewalk:left')|default(attribute(tags, 'sidewalk:both')) %}
{% if attribute(tags, 'sidewalk:left')|default(attribute(tags, 'sidewalk:both')) or tags.sidewalk in ['left', 'both'] %}
<li>{{ keyTrans('sidewalk:left') }}:<ul> <li>{{ keyTrans('sidewalk:left') }}:<ul>
<li>{{ tagTrans('sidewalk', attribute(tags, 'sidewalk:left')|default(attribute(tags, 'sidewalk:both'))) }}</li> <li>{{ tagTrans('sidewalk', attribute(tags, 'sidewalk:left')|default(attribute(tags, 'sidewalk:both'))) }}</li>
{% if attribute(tags, 'sidewalk:left:width')|default(attribute(tags, 'sidewalk:both:width')) %}<li> {% if attribute(tags, 'sidewalk:left:width')|default(attribute(tags, 'sidewalk:both:width')) %}<li>
@ -151,7 +151,7 @@ feature:
</ul></li> </ul></li>
{% endif %} {% endif %}
{% if attribute(tags, 'sidewalk:right')|default(attribute(tags, 'sidewalk:both')) %}
{% if attribute(tags, 'sidewalk:right')|default(attribute(tags, 'sidewalk:both')) or tags.sidewalk in ['right', 'both'] %}
<li>{{ keyTrans('sidewalk:right') }}:<ul> <li>{{ keyTrans('sidewalk:right') }}:<ul>
<li>{{ tagTrans('sidewalk', attribute(tags, 'sidewalk:right')|default(attribute(tags, 'sidewalk:both'))) }}</li> <li>{{ tagTrans('sidewalk', attribute(tags, 'sidewalk:right')|default(attribute(tags, 'sidewalk:both'))) }}</li>
{% if attribute(tags, 'sidewalk:right:width')|default(attribute(tags, 'sidewalk:both:width')) %}<li> {% if attribute(tags, 'sidewalk:right:width')|default(attribute(tags, 'sidewalk:both:width')) %}<li>

Loading…
Cancel
Save