Browse Source

cycleway_types: show highway=living_street

cycleway
parent
commit
7fadb51676
  1. 20
      cycleway_types.yaml

20
cycleway_types.yaml

@ -4,6 +4,7 @@ query:
way[cyclestreet=yes]; way[cyclestreet=yes];
way[bicycle_road=yes]; way[bicycle_road=yes];
way[highway=path][bicycle][bicycle!=no]; way[highway=path][bicycle][bicycle!=no];
way[highway=living_street];
way["cycleway"]["cycleway"!~"(no|separate)"]; way["cycleway"]["cycleway"!~"(no|separate)"];
way["cycleway:left"]["cycleway:left"!~"(no|separate)"]; way["cycleway:left"]["cycleway:left"!~"(no|separate)"];
way["cycleway:right"]["cycleway:right"!~"(no|separate)"]; way["cycleway:right"]["cycleway:right"!~"(no|separate)"];
@ -21,6 +22,8 @@ feature:
{% set type = 'cyclestreet' %} {% set type = 'cyclestreet' %}
{% elseif tags.bicycle_road in ['yes', 'designated'] %} {% elseif tags.bicycle_road in ['yes', 'designated'] %}
{% set type = 'bicycle_road' %} {% set type = 'bicycle_road' %}
{% elseif tags.highway and const.types['highway=' ~ tags.highway] %}
{% set type = 'highway=' ~ tags.highway %}
{% endif %} {% endif %}
{% set mainOneway = tags.oneway %} {% set mainOneway = tags.oneway %}
@ -341,6 +344,8 @@ feature:
{{ keyTrans('cyclestreet') }} {{ keyTrans('cyclestreet') }}
{% elseif tags.bicycle_road in ['yes', 'designated'] %} {% elseif tags.bicycle_road in ['yes', 'designated'] %}
{{ keyTrans('bicycle_road') }} {{ keyTrans('bicycle_road') }}
{% elseif tags.highway and const.types['highway=' ~ tags.highway] %}
{{ tagTrans('highway', tags.highway) }}
{% elseif tags.segregated %} {% elseif tags.segregated %}
{{ tagTrans('highway', 'cycleway segregated=' ~ tags.segregated) }} {{ tagTrans('highway', 'cycleway segregated=' ~ tags.segregated) }}
{% elseif tags.highway %} {% elseif tags.highway %}
@ -479,12 +484,6 @@ info: |
</table> </table>
const: const:
types: types:
cycleway:
color: '#009f00'
width: 4
footway:
color: '#ff9f00'
width: 4
cyclestreet: cyclestreet:
color: '#006f3f' color: '#006f3f'
width: 8 width: 8
@ -493,6 +492,15 @@ const:
color: '#006f4f' color: '#006f4f'
width: 8 width: 8
label: bicycle_road label: bicycle_road
highway=living_street:
color: '#ff9f00'
width: 8
cycleway:
color: '#009f00'
width: 4
footway:
color: '#ff9f00'
width: 4
lane: lane:
color: '#00df3f' color: '#00df3f'
track: track:

Loading…
Cancel
Save