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.
95 lines
3.4 KiB
95 lines
3.4 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Cultura",
|
|
"ca": "Cultura",
|
|
"cs": "Kultura",
|
|
"de": "Kultur",
|
|
"el": "Πολιτισμός",
|
|
"en": "Culture",
|
|
"es": "Cultura",
|
|
"et": "Kultuur",
|
|
"fr": "Culture",
|
|
"hu": "Kultúra",
|
|
"it": "Cultura",
|
|
"ja": "文化",
|
|
"nl": "Cultuur",
|
|
"pl": "Kultura",
|
|
"pt": "Cultura",
|
|
"pt-br": "Cultura",
|
|
"ro": "Cultura",
|
|
"ru": "Культура",
|
|
"uk": "Культура "
|
|
},
|
|
"query": {
|
|
"13": [
|
|
"(",
|
|
"node[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
|
|
"way[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
|
|
"relation[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
|
|
"node[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
|
|
"way[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
|
|
"relation[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"pre": [
|
|
"{% if tags.amenity in [ 'arts_centre', 'cinema', 'community_centre', 'fountain', 'studio', 'theatre' ] %}",
|
|
"{% set key = 'amenity' %}",
|
|
"{% set value = tags.amenity %}",
|
|
"{% elseif tags.tourism %}",
|
|
"{% set key = 'tourism' %}",
|
|
"{% set value = tags.tourism %}",
|
|
"{% endif %}"
|
|
],
|
|
"description": "{{ tagTrans(key, value) }}",
|
|
"body": [
|
|
"<ul>",
|
|
"{% if tags.inscription %}",
|
|
" <li class='hasSymbol'>",
|
|
" <i class=\"fa fa-pencil-alt\" aria-hidden=\"true\"></i>",
|
|
" <span class='key'>{{ keyTrans('inscription') }}:</span>",
|
|
" <span class='value'>{{ localizedTag(tags, 'inscription') }}</span>",
|
|
" </li>",
|
|
"{% elseif attribute(tags, 'inscription:url') %}",
|
|
" <li class='hasSymbol'>",
|
|
" <i class=\"fa fa-pencil-alt\" aria-hidden=\"true\"></i>",
|
|
" <span class='key'><a href=\"{{ attribute(tags, 'inscription:url') }}\">{{ keyTrans('inscription') }}</a></span>",
|
|
" </li>",
|
|
"{% endif %}",
|
|
"",
|
|
"{% if tags.artist_name %}",
|
|
" <li class='hasSymbol'>",
|
|
" <i class=\"fa fa-palette\" aria-hidden=\"true\"></i>",
|
|
" <span class='key'>{{ keyTrans('artist_name') }}:</span>",
|
|
" <span class='value'>{{ enumerate(tags.artist_name) }}</span>",
|
|
" </li>",
|
|
"{% endif %}",
|
|
"</ul>"
|
|
],
|
|
"markerSign": "{{ attribute(const, key ~ '=' ~ value) }}"
|
|
},
|
|
"const": {
|
|
"amenity=arts_centre": "🎨",
|
|
"amenity=cinema": "🎦",
|
|
"amenity=community_centre": "",
|
|
"amenity=fountain": "⛲",
|
|
"amenity=studio": "",
|
|
"amenity=theatre": "🎭",
|
|
"tourism=artwork": "🎨 ",
|
|
"tourism=gallery": "🖼",
|
|
"tourism=museum": "🏛 ",
|
|
"tourism=theme_park": ""
|
|
},
|
|
"info": [
|
|
"<table>",
|
|
"{% for value, sign in const %}",
|
|
" <tr>",
|
|
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign }}</div></td>",
|
|
" <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>",
|
|
" </tr>",
|
|
"{% endfor %}",
|
|
"</table>"
|
|
]
|
|
}
|