|
|
{ "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", "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)$'];", "way[amenity~'^(courthouse|embassy|public_building|townhall|recycling)$'];", "relation[amenity~'^(courthouse|embassy|public_building|townhall|recycling)$'];", "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'>", "townhall": "<img src='maki:town-hall'>" } }
|