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.

39 lines
1.0 KiB

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