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.
48 lines
1.7 KiB
48 lines
1.7 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"en": "Swimming and bathing",
|
|
"de": "Schwimmen und Baden"
|
|
},
|
|
"query": {
|
|
"13": [
|
|
"(",
|
|
"nwr[leisure=swimming_area];",
|
|
"nwr[natural~\"^(water|beach)\"][sport~\"^(|.*;)swimming(.*|)$\"];",
|
|
"nwr[leisure~\"^(water_park|beach_resort)$\"];",
|
|
"nwr[leisure=sports_centre][sport~\"^(|.*;)swimming(.*|)$\"];",
|
|
"nwr[amenity=public_bath];",
|
|
"nwr[tourism=spa_resort];",
|
|
")"
|
|
],
|
|
"16": [
|
|
"(",
|
|
"nwr[leisure=swimming_area];",
|
|
"nwr[natural~\"^(water|beach)\"][sport~\"^(|.*;)swimming(;.*|)$\"];",
|
|
"nwr[leisure~\"^(water_park|beach_resort)$\"];",
|
|
"nwr[leisure=sports_centre][sport~\"^(|.*;)swimming(;.*|)$\"];",
|
|
"nwr[amenity=public_bath];",
|
|
"nwr[tourism=spa_resort];",
|
|
"",
|
|
"nwr[leisure=swimming_pool][access!=private];",
|
|
"nwr[leisure=sauna];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"pre": "",
|
|
"description": [
|
|
"{% if tags.amenity == 'public_path' %}",
|
|
" {{ tagTrans('amenity', 'public_path') }}",
|
|
" {% if attribute(tags, 'bath:type') %}({{ tagTrans('bath:type', attribute(tags, 'bath:type')) }}){% endif %}",
|
|
"{% elseif tags.tourism == 'spa_resort' %}",
|
|
"{{ tagTrans('tourism', tags.tourism ) }}",
|
|
"{% elseif tags.leisure %}",
|
|
"{{ tagTrans('leisure', tags.leisure) }}",
|
|
"{% elseif tags.natural %}",
|
|
"{{ tagTrans('natural', tags.natural) }}",
|
|
"{% endif %}"
|
|
],
|
|
"priority": "{% if tags.name %}0{% else %}1{% endif %}"
|
|
}
|
|
}
|