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.

38 lines
1017 B

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