Main categories of OpenStreetBrowser with support for whitewater
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
758 B

  1. {
  2. "type": "overpass",
  3. "query": {
  4. "6": "relation[type=route][route=bicycle][network~'^(icn)$']",
  5. "9": "relation[type=route][route=bicycle][network~'^(icn|ncn)$']",
  6. "12": "relation[type=route][route=bicycle][network~'^(icn|ncn|rcn)$']",
  7. "15": "relation[type=route][route=bicycle]"
  8. },
  9. "minZoom": 6,
  10. "feature": {
  11. "style": {
  12. "color": "{% if tags.network=='icn' %}#ff0000{% elseif tags.network=='ncn' %}#ff007f{% elseif tags.network=='rcn' %}#7f00ff{% else %}#0000ff{% endif %}",
  13. "weight": 4,
  14. "opacity": 1.0
  15. },
  16. "priority": "{% if tags.network=='icn' %}0{% elseif tags.network=='ncn' %}1{% elseif tags.network=='rcn' %}2{% else %}3{% endif %}"
  17. }
  18. }