forked from plepe/openstreetbrowser-categories-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
education.json
107 lines (107 loc) · 3.2 KB
/
education.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"type": "overpass",
"name": {
"ast": "Servicios educativos",
"cs": "Vzdělávací služby",
"de": "Bildungseinrichtungen",
"el": "Υπηρεσίες Εκπαίδευσης",
"en": "Educational Services",
"et": "Haridusteenused",
"fr": "Services éducatifs",
"it": "Istruzione",
"ja": "教育サービス",
"nl": "Onderwijs",
"pl": "Edukacyjne",
"ro": "Servicii educatie",
"ru": "Образование",
"uk": "Освіта"
},
"query": {
"11": [
"(",
"node[amenity~'^(college|university|library)$'];",
"way[amenity~'^(college|university|library)$'];",
"relation[amenity~'^(college|university|library)$'];",
")"
],
"14": [
"(",
"node[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
"way[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
"relation[amenity~'^(college|university|library|school|kindergarten|language_school)$'];",
")"
],
"16": [
"(",
"node[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
"way[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
"relation[amenity~'^(college|university|library|school|kindergarten|public_bookcase)$'];",
")"
]
},
"feature": {
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}<br/>{% endif %}",
"markerSign": [
"{% set data = const[tags.amenity] %}",
"{% if data %}",
"{{ data.sign }}",
"{% endif %}"
],
"priority": [
"{% set data = const[tags.amenity] %}",
"{% if data %}",
"{{ data.priority }}",
"{% endif %}"
]
},
"info": [
"<table>",
"{% for value, data in const %}",
"{% if data.zoom <= map.zoom %}",
" <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign }}</div></td>",
" <td>{{ tagTrans('amenity', value) }}</td>",
" </tr>",
"{% endif %}",
"{% endfor %}",
"</table>"
],
"const": {
"university": {
"priority": 0,
"sign": "🎓",
"zoom": 11
},
"college": {
"priority": 1,
"sign": "🎓",
"zoom": 11
},
"library": {
"priority": 2,
"sign": "🕮",
"zoom": 11
},
"school": {
"priority": 3,
"sign": "🏫",
"zoom": 14
},
"language_school": {
"priority": 3,
"sign": "🏫",
"zoom": 14
},
"kindergarten": {
"priority": 4,
"sign": "⛹",
"zoom": 14
},
"public_bookcase": {
"priority": 5,
"sign": "📚",
"zoom": 16
}
}
}