Main categories of OpenStreetBrowser
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.

24 lines
908 B

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