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.
63 lines
1.8 KiB
63 lines
1.8 KiB
{
|
|
"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>"
|
|
}
|
|
}
|