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.

32 lines
930 B

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "en": "Hiking routes",
  5. "de": "Wanderrouten"
  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. "body": "{{ tagTrans('network', tags.network) }}",
  16. "priority": "{% set network_data = const[tags.network] %}\n{% if network_data %}\n{{ network_data.priority }}\n{% endif %}"
  17. },
  18. "const": {
  19. "iwn": {
  20. "priority": 1
  21. },
  22. "nwn": {
  23. "priority": 2
  24. },
  25. "rwn": {
  26. "priority": 3
  27. },
  28. "lwn": {
  29. "priority": 4
  30. }
  31. }
  32. }