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.
77 lines
2.9 KiB
77 lines
2.9 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Serviciu Públicu",
|
|
"cs": "Veřejné služby",
|
|
"de": "Öffentliche Dienste",
|
|
"el": "Δημόσιες Υπηρεσίες",
|
|
"en": "Public Services",
|
|
"et": "Kommunaalteenused",
|
|
"fr": "Services Publics",
|
|
"it": "Servizi pubblici",
|
|
"ja": "公共サービス",
|
|
"nl": "Openbare diensten",
|
|
"pt": "Serviços públicos",
|
|
"pt-br": "Serviços Públicos",
|
|
"ro": "Servicii publice",
|
|
"ru": "Общественные места",
|
|
"uk": "Громадські місця"
|
|
},
|
|
"query": {
|
|
"12": [
|
|
"(",
|
|
"node[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
|
|
"way[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
|
|
"relation[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
|
|
"node[amenity=recycling][recyling_type=centre];",
|
|
"way[amenity=recycling][recyling_type=centre];",
|
|
"relation[amenity=recycling][recyling_type=centre];",
|
|
");"
|
|
],
|
|
"16": [
|
|
"(",
|
|
"node[amenity~'^(courthouse|embassy|public_building|townhall|clock|drinking_water|recycling|toilets)$'];",
|
|
"way[amenity~'^(courthouse|embassy|public_building|townhall|recycling|toilets)$'];",
|
|
"relation[amenity~'^(courthouse|embassy|public_building|townhall|recycling|toilets)$'];",
|
|
"node[drinking_water];",
|
|
");"
|
|
]
|
|
},
|
|
"feature": {
|
|
"pre": [
|
|
"{% if tags.drinking_water %}",
|
|
"{% set value = 'drinking_water' %}",
|
|
"{% else %}",
|
|
"{% set value = tags.amenity %}",
|
|
"{% endif %}"
|
|
],
|
|
"title": "{{ tags.name|default(tags.operator)|default(tagTrans('amenity', value)) }}",
|
|
"description": "{{ tagTrans('amenity', value) }}",
|
|
"body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
|
|
"markerSign": [
|
|
"{% if const[value] %}",
|
|
"{{ const[value]|raw }}",
|
|
"{% endif %}"
|
|
]
|
|
},
|
|
"info": [
|
|
"<table>",
|
|
"{% for value, sign in const %}",
|
|
" <tr>",
|
|
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
|
|
" <td>{{ tagTrans('amenity', value) }}</td>",
|
|
" </tr>",
|
|
"{% endfor %}",
|
|
"</table>"
|
|
],
|
|
"const": {
|
|
"courthouse": "⚖",
|
|
"clock": "<i class='fa fa-clock-o' aria-hidden='true'></i>",
|
|
"drinking_water": "<img src='maki:drinking-water'>",
|
|
"embassy": "<img src='maki:embassy'>",
|
|
"public_building": "<img src='maki:building'>",
|
|
"recycling": "<img src='maki:recycling'>",
|
|
"toilets": "<img src='maki:toilet'>",
|
|
"townhall": "<img src='maki:town-hall'>"
|
|
}
|
|
}
|