Browse Source

climbing: improvements, link from 'outdoor'

climbing
parent
commit
9b657d9e44
  1. 25
      climbing.json
  2. 3
      outdoor.json

25
climbing.json

@ -4,31 +4,36 @@
"en": "Climbing"
},
"query": {
"11": [
"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.leisure == 'sports_centre' %}",
" {{ tagTrans('leisure', 'sports_centre') }}",
" {% set dash=true %}",
"{% endif %}",
"",
"{% if tags.highway == 'via_ferrata' %}",
"{% if tags.natural %}",
" {{ tagTransList('natural', tags.natural) }}",
" {% set dash=true %}",
"{% elseif tags.leisure %}",
" {% if dash %} - {% endif %}",
" {{ tagTrans('highway', 'via_ferrata') }}",
" {{ tagTransList('leisure', tags.leisure) }}",
" {% set dash=true %}",
"{% endif %}",
"",
"{% if tags.natural %}",
"{% if tags.highway == 'via_ferrata' %}",
" {% if dash %} - {% endif %}",
" {{ tagTransList('natural', tags.natural) }}",
" {{ tagTrans('highway', 'via_ferrata') }}",
" {% set dash=true %}",
"{% endif %}",
"",

3
outdoor.json

@ -10,6 +10,9 @@
"subCategories": [
{
"id": "mtb-routes"
},
{
"id": "climbing"
}
]
}
Loading…
Cancel
Save