forked from OpenStreetBrowser/main
Stephan Bösch-Plepelits
7 years ago
3 changed files with 49 additions and 81 deletions
-
33index.json
-
48pt.json
-
49pt_stops.json
@ -1,49 +0,0 @@ |
|||
{ |
|||
"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", |
|||
"pt": "Paragens e estações", |
|||
"pt-br": "Paradas e Estações", |
|||
"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) }}" |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue