forked from plepe/openstreetbrowser-categories-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pt_amenities.json
63 lines (63 loc) · 1.83 KB
/
pt_amenities.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"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>"
}
}