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" "en": "Climbing"
}, },
"query": { "query": {
"11": [ "12": [
"(", "(",
"nwr[sport~\"^(.*;|)climbing(|;.*)$\"];", "nwr[sport~\"^(.*;|)climbing(|;.*)$\"];",
"nwr[highway=via_ferrata];", "nwr[highway=via_ferrata];",
"nwr[climbing~\"^(route|crag|boulder)$\"];", "nwr[climbing~\"^(route|crag|boulder)$\"];",
")" ")"
],
"16": [
"(",
"nwr[sport~\"^(.*;|)climbing(|;.*)$\"];",
"nwr[highway=via_ferrata];",
"nwr[climbing];",
")"
] ]
}, },
"feature": { "feature": {
"description": [ "description": [
"{% set dash = false %}", "{% set dash = false %}",
"{% if tags.leisure == 'sports_centre' %}", "{% if tags.natural %}",
" {{ tagTrans('leisure', 'sports_centre') }}", " {{ tagTransList('natural', tags.natural) }}",
" {% set dash=true %}", " {% set dash=true %}",
"{% endif %}", "{% elseif tags.leisure %}",
"",
"{% if tags.highway == 'via_ferrata' %}",
" {% if dash %} - {% endif %}", " {% if dash %} - {% endif %}",
" {{ tagTrans('highway', 'via_ferrata') }}", " {{ tagTransList('leisure', tags.leisure) }}",
" {% set dash=true %}", " {% set dash=true %}",
"{% endif %}", "{% endif %}",
"", "",
"{% if tags.natural %}", "{% if tags.highway == 'via_ferrata' %}",
" {% if dash %} - {% endif %}", " {% if dash %} - {% endif %}",
" {{ tagTransList('natural', tags.natural) }}", " {{ tagTrans('highway', 'via_ferrata') }}",
" {% set dash=true %}", " {% set dash=true %}",
"{% endif %}", "{% endif %}",
"", "",

3
outdoor.json

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