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

{
"type": "overpass",
"name": {
"en": "Climbing"
},
"query": {
"11": [
"(",
"nwr[sport~\"^(.*;|)climbing(|;.*)$\"];",
"nwr[highway=via_ferrata];",
"nwr[climbing~\"^(route|crag|boulder)$\"];",
")"
]
},
"feature": {
"description": [
"{% set dash = false %}",
"{% if tags.leisure == 'sports_centre' %}",
" {{ tagTrans('leisure', 'sports_centre') }}",
" {% set dash=true %}",
"{% endif %}",
"",
"{% if tags.highway == 'via_ferrata' %}",
" {% if dash %} - {% endif %}",
" {{ tagTrans('highway', 'via_ferrata') }}",
" {% set dash=true %}",
"{% endif %}",
"",
"{% if tags.natural %}",
" {% if dash %} - {% endif %}",
" {{ tagTransList('natural', tags.natural) }}",
" {% set dash=true %}",
"{% endif %}",
"",
"{% if tags.climbing and tags.climbing != 'yes' %}",
" {% if dash %} - {% endif %}",
" {{ tagTransList('climbing', tags.climbing) }}",
"{% endif %}"
],
"body": "{% if tags.via_ferrata_scale %}<b>{{ keyTrans('via_ferrata_scale') }}: </b>{{ tags.via_ferrata_scale }}{% endif %}<br/>"
}
}