forked from OpenStreetBrowser/main
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.
47 lines
1.5 KiB
47 lines
1.5 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"en": "Climbing"
|
|
},
|
|
"query": {
|
|
"12": [
|
|
"(",
|
|
"nwr[sport~\"^(.*;|)climbing(|;.*)$\"];",
|
|
"nwr[highway=via_ferrata];",
|
|
"nwr[climbing~\"^(route|crag|boulder)$\"];",
|
|
")"
|
|
],
|
|
"16": [
|
|
"(",
|
|
"nwr[sport~\"^(.*;|)climbing(|;.*)$\"];",
|
|
"nwr[highway=via_ferrata];",
|
|
"nwr[climbing];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"description": [
|
|
"{% set dash = false %}",
|
|
"{% if tags.natural %}",
|
|
" {{ tagTransList('natural', tags.natural) }}",
|
|
" {% set dash=true %}",
|
|
"{% elseif tags.leisure %}",
|
|
" {% if dash %} - {% endif %}",
|
|
" {{ tagTransList('leisure', tags.leisure) }}",
|
|
" {% set dash=true %}",
|
|
"{% endif %}",
|
|
"",
|
|
"{% if tags.highway == 'via_ferrata' %}",
|
|
" {% if dash %} - {% endif %}",
|
|
" {{ tagTrans('highway', 'via_ferrata') }}",
|
|
" {% 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/>"
|
|
}
|
|
}
|