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.

36 lines
937 B

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "de": "Wanderrouten",
  5. "en": "Hiking routes"
  6. },
  7. "query": {
  8. "10": "relation[type=route][route=hiking][network~\"^(iwn)$\"]",
  9. "11": "relation[type=route][route=hiking][network~\"^(iwn|nwn)$\"]",
  10. "12": "relation[type=route][route=hiking][network~\"^(iwn|nwn|rwn)$\"]",
  11. "14": "relation[type=route][route=hiking]"
  12. },
  13. "feature": {
  14. "description": "{{ tagTrans('network', tags.network) }}",
  15. "priority": [
  16. "{% set network_data = const[tags.network] %}",
  17. "{% if network_data %}",
  18. "{{ network_data.priority }}",
  19. "{% endif %}"
  20. ]
  21. },
  22. "const": {
  23. "iwn": {
  24. "priority": 1
  25. },
  26. "nwn": {
  27. "priority": 2
  28. },
  29. "rwn": {
  30. "priority": 3
  31. },
  32. "lwn": {
  33. "priority": 4
  34. }
  35. }
  36. }