|
|
{ "type": "overpass", "name": { "ast": "Infraestructures", "ca": "Serveis", "cs": "Občanská vybavenost", "de": "Einrichtungen", "en": "Amenities", "es": "Instalaciones", "fr": "Équipements", "gl": "Instalacións", "hu": "Létesítmények", "it": "Servizi", "ja": "生活環境", "nb": "Fasiliteter", "nl": "Voorzieningen", "oc": "Infrastructuras de transpòrt", "pl": "Pożyteczne w transporcie publicznym", "pt": "Equipamentos", "pt-br": "Equipamentos", "ru": "Транспортные принадлежности", "sr": "Додаци", "tr": "Tesisler", "uk": "Amenities" }, "query": { "8": [ "(", "nwr[aeroway=aerodrome]['aerodrome:type'~'(international)'];", ")" ], "10": [ "(", "nwr[aeroway=aerodrome]['aerodrome:type'~'(international|regional|public)'];", ")" ], "12": [ "(", "nwr[aeroway=aerodrome];", ")" ], "16": [ "(", "nwr[amenity~\"^(taxi|ticket_counter)$\"];", "nwr[railway~\"^(subway_entrance)$\"];", "nwr[aeroway=aerodrome];", ")" ] }, "feature": { "pre": [ "{% if tags.aeroway == 'aerodrome' %}", " {% set key = 'aeroway' %}", " {% set value = tags.aeroway %}", "{% elseif tags.railway == 'subway_entrance' %}", " {% set key = 'railway' %}", " {% set value = tags.railway %}", "{% else %}", " {% set key = 'amenity' %}", " {% set value = tags.amenity %}", "{% endif %}" ], "description": "{{ debug(key, value) }}{{ tagTrans(key, value) }}", "markerSign": "{{ const[value]|raw }}" }, "const": { "taxi": "🚖", "ticket_counter": "🎫", "subway_entrance": "🚉", "aerodrome": "<i class='fas fa-plane-departure'></i>" } }
|