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.

22 lines
849 B

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