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.

23 lines
881 B

8 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "de": "Radrouten",
  5. "en": "Cycle Routes",
  6. "fr": "Itinéraires vélo",
  7. "pt-br": "Ciclorrotas"
  8. },
  9. "query": {
  10. "6": "relation[type=route][route=bicycle][network~'^(icn)$']",
  11. "9": "relation[type=route][route=bicycle][network~'^(icn|ncn)$']",
  12. "12": "relation[type=route][route=bicycle][network~'^(icn|ncn|rcn)$']",
  13. "15": "relation[type=route][route=bicycle]"
  14. },
  15. "feature": {
  16. "priority": "{% if tags.network=='icn' %}0{% elseif tags.network=='ncn' %}1{% elseif tags.network=='rcn' %}2{% else %}3{% endif %}",
  17. "style": {
  18. "width": 4,
  19. "color": "{% if tags.network=='icn' %}#ff0000{% elseif tags.network=='ncn' %}#ff007f{% elseif tags.network=='rcn' %}#7f00ff{% else %}#0000ff{% endif %}",
  20. "opacity": 1
  21. }
  22. }
  23. }