{ "type": "overpass", "query": { "10": "way[highway~'^(motorway|trunk)']", "12": "way[highway~'^(motorway|trunk|primary)']", "13": "way[highway~'^(motorway|trunk|primary|secondary)']", "14": "way[highway~'^(motorway|trunk|primary|secondary|tertiary)']", "15": "way[highway~'^(motorway|trunk|primary|secondary|tertiary|pedestrian|unclassified)']", "16": "way[highway~'^(motorway|trunk|primary|secondary|tertiary|pedestrian|unclassified|residential)']", "17": "way[highway~'^(motorway|trunk|primary|secondary|tertiary|pedestrian|unclassified|residential|living_street|service)']", "18": "way[highway][highway!~'^(raceway|bus_guideway)$']" }, "feature": { "pre": [ "{% set highway = tags.highway %}{% set is_link = false %}", "{% if tags.highway|matches('_link$') %}", " {% set highway = tags.highway|slice(0, tags.highway|length - 5) %}{% set is_link = true %}", "{% endif %}" ], "description": "{{ tagTrans('highway', tags.highway) }}", "priority": "{{ const.priorities[highway]|default(50) + (is_link ? 0.5 : 0) }}", "markerSymbol": "", "listMarkerSymbol": "line", "style": { "width": "{{ is_link ? 2 : 4 }}", "color": "{{ const.colors[highway]|default('#ff0000') }}" } }, "info": [ "
{{ markerLine({ \"width\": \"4\", \"color\": color })|raw }} | ", "{{ tagTrans('highway', k) }} | ", "
{{ markerLine({ \"width\": \"2\", \"color\": const.colors.motorway })|raw }} | ", "{{ tagTrans('highway', 'motorway_link') }} | ", "
{{ markerLine({ \"width\": \"4\", \"color\": \"#ff0000\" })|raw }} | ", "{{ trans('invalid value') }} | ", "