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.
51 lines
1.9 KiB
51 lines
1.9 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_bath' %}",
|
|
"{{ tagTrans('amenity', 'public_bath' ) }}",
|
|
"{% 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 == 'sauna' %}",
|
|
" {{ tagTrans('leisure', 'sauna') }}",
|
|
" {% if tags.sauna and tags.sauna != 'yes' %}({{ tagTransList('sauna', tags.sauna) }}){% endif %}",
|
|
"{% elseif tags.leisure %}",
|
|
"{{ tagTrans('leisure', tags.leisure) }}",
|
|
"{% elseif tags.natural %}",
|
|
"{{ tagTrans('natural', tags.natural) }}",
|
|
"{% endif %}"
|
|
],
|
|
"priority": "{% if tags.name %}0{% else %}1{% endif %}"
|
|
}
|
|
}
|