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.

37 lines
978 B

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