forked from OpenStreetBrowser/main
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Infraestructures",
|
|
"cs": "Občanská vybavenost",
|
|
"de": "Einrichtungen",
|
|
"en": "Amenities",
|
|
"fr": "Équipements",
|
|
"it": "Infrastrutture",
|
|
"ja": "生活環境",
|
|
"nl": "Voorzieningen",
|
|
"pt-br": "Equipamentos",
|
|
"ru": "Транспортные принадлежности",
|
|
"uk": "Amenities"
|
|
},
|
|
"query": {
|
|
"14": [
|
|
"(",
|
|
"node[amenity~\"^(taxi|ticket_counter)$\"];",
|
|
"way[amenity~\"^(taxi|ticket_counter)$\"];",
|
|
"relation[amenity~\"^(taxi|ticket_counter)$\"];",
|
|
"node[railway~\"^(subway_entrance)$\"];",
|
|
"way[railway~\"^(subway_entrance)$\"];",
|
|
"relation[railway~\"^(subway_entrance)$\"];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"pre": [
|
|
"{% if tags.railway == 'subway_entrance' %}",
|
|
" {% set key = 'railway' %}",
|
|
" {% set value = tags.railway %}",
|
|
"{% else %}",
|
|
" {% set key = 'amenity' %}",
|
|
" {% set value = tags.amenity %}",
|
|
"{% endif %}"
|
|
],
|
|
"description": "{{ tagTrans(key, value) }}",
|
|
"markerSign": "{{ const[value] }}"
|
|
},
|
|
"const": {
|
|
"taxi": "🚖",
|
|
"ticket_counter": "🎫",
|
|
"subway_entrance": "🚉"
|
|
}
|
|
}
|