|
|
{ "type": "overpass", "name": { "ast": "Infraestructures", "cs": "Občanská vybavenost", "de": "Einrichtungen", "en": "Amenities", "fr": "Équipements", "hu": "Létesítmények", "it": "Infrastrutture", "ja": "生活環境", "nl": "Voorzieningen", "pt-br": "Equipamentos", "ru": "Транспортные принадлежности", "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>" } }
|