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.

42 lines
1.4 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "en": "Climbing"
  5. },
  6. "query": {
  7. "11": [
  8. "(",
  9. "nwr[sport~\"^(.*;|)climbing(|;.*)$\"];",
  10. "nwr[highway=via_ferrata];",
  11. "nwr[climbing~\"^(route|crag|boulder)$\"];",
  12. ")"
  13. ]
  14. },
  15. "feature": {
  16. "description": [
  17. "{% set dash = false %}",
  18. "{% if tags.leisure == 'sports_centre' %}",
  19. " {{ tagTrans('leisure', 'sports_centre') }}",
  20. " {% set dash=true %}",
  21. "{% endif %}",
  22. "",
  23. "{% if tags.highway == 'via_ferrata' %}",
  24. " {% if dash %} - {% endif %}",
  25. " {{ tagTrans('highway', 'via_ferrata') }}",
  26. " {% set dash=true %}",
  27. "{% endif %}",
  28. "",
  29. "{% if tags.natural %}",
  30. " {% if dash %} - {% endif %}",
  31. " {{ tagTransList('natural', tags.natural) }}",
  32. " {% set dash=true %}",
  33. "{% endif %}",
  34. "",
  35. "{% if tags.climbing and tags.climbing != 'yes' %}",
  36. " {% if dash %} - {% endif %}",
  37. " {{ tagTransList('climbing', tags.climbing) }}",
  38. "{% endif %}"
  39. ],
  40. "body": "{% if tags.via_ferrata_scale %}<b>{{ keyTrans('via_ferrata_scale') }}: </b>{{ tags.via_ferrata_scale }}{% endif %}<br/>"
  41. }
  42. }