diff --git a/car_routes.json b/car_routes.json new file mode 100644 index 00000000..2cb3ba79 --- /dev/null +++ b/car_routes.json @@ -0,0 +1,47 @@ +{ + "type": "overpass", + "name": { + "en": "Car routes" + }, + "query": { + "10": "relation[type=route][route=road]" + }, + "members": true, + "feature": { + "description": "{% if tags.network %}{{ tagTrans('network', tags.network) }}{% endif %}", + "listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': '#ff0000' )].color })|raw }}", + "styles": "" + }, + "memberFeature": { + "pre": [ + "{% set refs = [] %}", + "{% if tags.ref %}", + " {% set refs = refs|merge([ tags.ref ]) %}", + "{% endif %}", + "", + "{% for master in masters %}", + " {% if master.tags.ref %}", + " {% set refs = refs|merge([ master.tags.ref ]) %}", + " {% endif %}", + "{% endfor %}" + ], + "body": [ + "