|
|
{ "type": "overpass", "name": { "ast": "Paraes y estaciones", "cs": "Zastávky & Stanice", "de": "Haltestellen", "el": "Στάσεις & Σταθμοί", "en": "Stops & Stations", "es": "Paradas y estaciones", "fr": "Arrêts/Stops, Stations", "hu": "Megállók és állomások", "it": "Stazioni e fermate", "ja": "停留所と駅", "nl": "Haltes en Stations", "pl": "Przystanki i Stacje", "ru": "Остановки и станции", "uk": "Зупинки та станції" }, "query": { "14": [ "(", "node[railway~\"^(station|halt|tram_stop|platform)$\"];", "way[railway~\"^(station|platform)$\"];", "node[highway~\"^(bus_stop|platform)$\"];", "way[highway~\"^(platform)$\"];", "node[public_transport~\"^(stop_position|platform)$\"];", "way[public_transport~\"^(platform)$\"];", "node[amenity~\"^(ferry_terminal|bus_station)$\"];", ")" ] }, "feature": { "pre": [ "{% if tags.amenity in [ 'ferry_terminal', 'bus_station' ] %}", " {% set key = 'amenity' %}", " {% set value = tags.amenity %}", "{% elseif tags.railway == 'platform' or tags.highway == 'platform' or tags.public_transport == 'platform' %}", " {% set key = 'public_transport' %}", " {% set value = 'platform' %}", "{% else %}", " {% set key = 'public_transport' %}", " {% set value = 'stop_position' %}", "{% endif %}" ], "description": "{{ tagTrans(key, value) }}" } }
|