Main categories of OpenStreetBrowser with public transport zoom level
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
832 B

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