Browse Source

footways: info about incline

pedestrian
parent
commit
2925346b43
  1. 12
      footways.yaml

12
footways.yaml

@ -109,6 +109,10 @@ feature:
<span class='key'>{{ keyTrans('smoothness') }}:</span> <span class='key'>{{ keyTrans('smoothness') }}:</span>
<span class='value'>{{ tagTrans('smoothness', tags.smoothness) }}</span> <span class='value'>{{ tagTrans('smoothness', tags.smoothness) }}</span>
</li>{% endif %} </li>{% endif %}
{% if tags.incline %}<li>
<span class='key'>{{ keyTrans('incline') }}:</span>
<span class='value'>{{ tags.incline|formatUnit('incline') }}</span>
</li>{% endif %}
{% endif %} {% endif %}
{% if attribute(tags, 'sidewalk:left')|default(attribute(tags, 'sidewalk:both')) %} {% if attribute(tags, 'sidewalk:left')|default(attribute(tags, 'sidewalk:both')) %}
@ -134,6 +138,10 @@ feature:
<span class='key'>{{ keyTrans('smoothness') }}:</span> <span class='key'>{{ keyTrans('smoothness') }}:</span>
<span class='value'>{{ tagTrans('smoothness', attribute(tags, 'sidewalk:left:smoothness')|default(attribute(tags, 'sidewalk:both:smoothness'))) }}</span> <span class='value'>{{ tagTrans('smoothness', attribute(tags, 'sidewalk:left:smoothness')|default(attribute(tags, 'sidewalk:both:smoothness'))) }}</span>
</li>{% endif %} </li>{% endif %}
{% if attribute(tags, 'sidewalk:left:incline')|default(attribute(tags, 'sidewalk:both:incline')) %}<li>
<span class='key'>{{ keyTrans('incline') }}:</span>
<span class='value'>{{ attribute(tags, 'sidewalk:left:incline')|default(attribute(tags, 'sidewalk:both:incline'))|formatUnit('incline') }}</span>
</li>{% endif %}
</ul></li> </ul></li>
{% endif %} {% endif %}
@ -160,6 +168,10 @@ feature:
<span class='key'>{{ keyTrans('smoothness') }}:</span> <span class='key'>{{ keyTrans('smoothness') }}:</span>
<span class='value'>{{ tagTrans('smoothness', attribute(tags, 'sidewalk:right:smoothness')|default(attribute(tags, 'sidewalk:both:smoothness'))) }}</span> <span class='value'>{{ tagTrans('smoothness', attribute(tags, 'sidewalk:right:smoothness')|default(attribute(tags, 'sidewalk:both:smoothness'))) }}</span>
</li>{% endif %} </li>{% endif %}
{% if attribute(tags, 'sidewalk:right:incline')|default(attribute(tags, 'sidewalk:both:incline')) %}<li>
<span class='key'>{{ keyTrans('incline') }}:</span>
<span class='value'>{{ attribute(tags, 'sidewalk:right:incline')|default(attribute(tags, 'sidewalk:both:incline'))|formatUnit('incline') }}</span>
</li>{% endif %}
</ul></li> </ul></li>
{% endif %} {% endif %}
</ul> </ul>

Loading…
Cancel
Save