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.
117 lines
4.2 KiB
117 lines
4.2 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Hestoria",
|
|
"cs": "Historické",
|
|
"de": "Geschichte",
|
|
"el": "Ιστορικά",
|
|
"en": "Historic",
|
|
"et": "Ajalooline",
|
|
"fr": "Histoire",
|
|
"hu": "Történelmi objektumok",
|
|
"it": "Storia",
|
|
"ja": "記念",
|
|
"nl": "Historisch",
|
|
"pl": "Miejsca Historyczne",
|
|
"pt": "Histórico",
|
|
"pt-br": "Histórico",
|
|
"ro": "Istoric",
|
|
"ru": "Историческое",
|
|
"uk": "Історія"
|
|
},
|
|
"query": {
|
|
"11": [
|
|
"(",
|
|
"node[historic~\"^(castle|archaeological_site|battlefield)$\"];",
|
|
"way[historic~\"^(castle|archaeological_site|battlefield)$\"];",
|
|
"relation[historic~\"^(castle|archaeological_site|battlefield)$\"];",
|
|
")"
|
|
],
|
|
"14": [
|
|
"(",
|
|
"node[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine|wayside_chapel)$\"];",
|
|
"way[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine|wayside_chapel)$\"];",
|
|
"relation[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine|wayside_chapel)$\"];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"description": "{{ tagTransList('historic', tags.historic) }}",
|
|
"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 attribute(tags, 'historic:civilization') %}",
|
|
" <li class='hasSymbol'>",
|
|
" <i class=\"fa fa-users\" aria-hidden=\"true\"></i>",
|
|
" <span class='key'>{{ keyTrans('historic:civilization') }}:</span>",
|
|
" <span class='value'>{{ tagTrans('historic:civilization', attribute(tags, 'historic:civilization')) }}</span>",
|
|
" </li>",
|
|
"{% endif %}",
|
|
"",
|
|
"{% if attribute(tags, 'memorial:conflict') %}",
|
|
" <li class='hasSymbol'>",
|
|
" <i class=\"fa fa-bolt\" aria-hidden=\"true\"></i>",
|
|
" <span class='key'>{{ keyTrans('memorial:conflict') }}:</span>",
|
|
" <span class='value'>{{ tagTransList('memorial:conflict', attribute(tags, 'memorial:conflict')) }}</span>",
|
|
" </li>",
|
|
"{% endif %}"
|
|
],
|
|
"markerSign": "{{ const[tags.historic].sign|raw }}"
|
|
},
|
|
"info": [
|
|
"<table>",
|
|
"{% for value, data in const %}",
|
|
"{% if data.zoom <= map.zoom %}",
|
|
" <tr>",
|
|
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>",
|
|
" <td>{{ tagTrans('historic', value) }}</td>",
|
|
" </tr>",
|
|
"{% endif %}",
|
|
"{% endfor %}",
|
|
"{% if 14 <= map.zoom %}",
|
|
" <tr>",
|
|
" <td>{{ markerCircle({})|raw }}<div class='sign'></div></td>",
|
|
" <td>{{ trans('other') }}</td>",
|
|
" </tr>",
|
|
"{% endif %}",
|
|
"</table>"
|
|
],
|
|
"const": {
|
|
"archaeological_site": {
|
|
"sign": "<i class=\"fas fa-archway\"></i>",
|
|
"zoom": 11
|
|
},
|
|
"battlefield": {
|
|
"sign": "⚔️",
|
|
"zoom": 11
|
|
},
|
|
"castle": {
|
|
"sign": "<img data-src='maki:castle'>",
|
|
"zoom": 11
|
|
},
|
|
"building": {
|
|
"sign": "<img data-src='maki:building'>",
|
|
"zoom": 14
|
|
},
|
|
"aircraft": {
|
|
"sign": "<img data-src='maki:airport'>",
|
|
"zoom": 14
|
|
},
|
|
"ruins": {
|
|
"sign": "<img data-src='temaki:ruins'>",
|
|
"zoom": 14
|
|
}
|
|
}
|
|
}
|