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.
 
 

77 lines
2.4 KiB

{
"type": "overpass",
"name": {
"ast": "Recréu",
"cs": "Volný čas",
"de": "Freizeit",
"el": "Αναψυχή",
"en": "Leisure",
"fr": "Loisirs",
"hu": "Szabadidő",
"it": "Tempo libero",
"ja": "レジャー",
"nl": "Vrije tijd",
"pt": "Lazer",
"pt-br": "Lazer",
"ro": "Timp liber",
"ru": "Досуг",
"uk": "Дозвілля"
},
"query": {
"15": [
"(",
"node[leisure];",
"way[leisure];",
"relation[leisure];",
")"
]
},
"feature": {
"description": [
"{% if tags.leisure == 'pitch' and tags.sport %}",
" {% set pitchName = tagTransList('leisure=pitch sport', tags.sport) %}",
"{% endif %}",
"",
"{% if pitchName and pitchName != tags.sport %}",
" {{ pitchName }} ",
"{% else %}",
" {{ tagTrans('leisure', tags.leisure) }}",
" {% if tags.leisure == 'pitch' and tags.sport %}",
" - {{ tagTransList('sport', tags.sport) }}",
" {% endif %}",
"{% endif %}"
]
},
"filter": {
"access": {
"name": "{{ keyTrans('access') }}",
"type": "select",
"show_default": "true",
"placeholder": "{{ trans(\"tag:access!=private\") }}",
"valueName": "{{ tagTrans(\"access\", value) }}",
"values": {
"*": {
"name": "{{ trans('any value') }}",
"query": "nwr",
"weight": -1
},
"yes": {},
"private": {},
"permissive": {},
"customers": {},
"discouraged": {},
"unknown": {
"name": "{{ trans(\"unknown\") }}",
"query": "(nwr[\"access\"=\"unknown\"];nwr[!access];)",
"weight": 1
},
"?": {
"name": "{{ trans(\"other\") }}",
"query": "nwr[access][\"access\"!~\"^(public|private|permissive|customers|discouraged|unknown|yes)$\"]",
"weight": 1
}
},
"emptyQuery": "nwr[\"access\"!=\"private\"]"
}
}
}