Browse Source

Delete 'whitewater2.json'

master
javierru 3 years ago
parent
commit
730939be21
  1. 50
      whitewater2.json

50
whitewater2.json

@ -1,50 +0,0 @@
{
"type": "overpass",
"name": {
"en": "Whitewater",
},
"query": {
"13": "relation[type=waterway][waterway~\"(|.*;)river(|;.*)\"]"
},
"members": true,
"feature": {
"description": "{{ tagTrans('waterway', 'river', 'whitewater:section_grade') }}",
"listMarkerSymbol": "{{ markerLine({ 'width': 4, 'color': '#007fff' })|raw }}",
"title": "{% if tags.ref and tags.name %}{{ tags.ref }} - {{ tags.name }}{% elseif tags.ref %}{{ tags.ref }}{% elseif tags.name %}{{ tags.name }}{% endif %}",
"styles": "",
"markerSymbol": ""
},
"memberFeature": {
"pre": [
"{% set refs = [] %}",
"",
"{% for master in masters %}",
" {% if master.tags.ref %}",
" {% set refs = refs|merge([ master.tags.ref ]) %}",
" {% endif %}",
"{% endfor %}"
],
"body": [
"<h4>Routes</h4>",
"<ul class='overpass-layer-list'>",
"{% for master in masters %}",
" <li data-object=\"{{ master.id }}\">",
" <span class='markerParent'><div class='marker'>{{ markerLine({ width: 4, color: '#007fff' })|raw }}</div></span>",
" <span class='title'>{% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}</span>",
" <span class='description'>{{ tagTrans('route', 'mtb') }}</span>",
" </li>",
"{% endfor %}",
"</ul>"
],
"listExclude": "1",
"style": {
"color": "#007fff",
"width": 4,
"opacity": 1,
"text": "{{ refs|join(' · ') }} ",
"textRepeat": "1",
"textOffset": "12",
"textFontWeight": "bold"
}
}
}
Loading…
Cancel
Save