Skip to content

Commit 55fef1a

Browse files
committed
Support education tag per approved proposal: https://wiki.openstreetmap.org/wiki/Proposal:Education_tag
1 parent 2763fbd commit 55fef1a

12 files changed

+134
-0
lines changed

data/fields/education.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"key": "education",
3+
"type": "typeCombo",
4+
"label": "Type"
5+
}

data/presets/education.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"icon": "temaki-school",
3+
"fields": [
4+
"name",
5+
"education",
6+
"operator",
7+
"address",
8+
"building_area",
9+
"phone",
10+
"website"
11+
],
12+
"moreFields": [
13+
"{@templates/contact}",
14+
"branch_brand",
15+
"brand",
16+
"building/levels_building",
17+
"gnis/feature_id-US",
18+
"height_building",
19+
"level",
20+
"opening_hours",
21+
"payment_multi",
22+
"wheelchair"
23+
],
24+
"geometry": [
25+
"point",
26+
"area"
27+
],
28+
"tags": {
29+
"education": "*"
30+
},
31+
"terms": [
32+
"classes",
33+
"school",
34+
"teaching",
35+
"training"
36+
],
37+
"name": "Education Facility",
38+
"matchScore": 0.4
39+
}

data/presets/education/_yes.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"icon": "temaki-school",
3+
"fields": [
4+
"name",
5+
"education",
6+
"{education}"
7+
],
8+
"geometry": [
9+
"point",
10+
"area"
11+
],
12+
"tags": {
13+
"education": "yes"
14+
},
15+
"searchable": false,
16+
"matchScore": 0.5,
17+
"name": "Education Facility (Unspecified Type)"
18+
}

data/presets/amenity/college.json data/presets/education/college.json

+8
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,13 @@
2626
"tags": {
2727
"amenity": "college"
2828
},
29+
"addTags": {
30+
"amenity": "college",
31+
"education": "college"
32+
},
33+
"reference": {
34+
"key": "amenity",
35+
"value": "college"
36+
},
2937
"name": "College Grounds"
3038
}

data/presets/leisure/dancing_school.json data/presets/education/dancing_school.json

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
"tags": {
2828
"amenity": "dancing_school"
2929
},
30+
"addTags": {
31+
"amenity": "dancing_school",
32+
"education": "dancing_school"
33+
},
34+
"reference": {
35+
"key": "amenity",
36+
"value": "dancing_school"
37+
},
3038
"name": "Dance School",
3139
"aliases": [
3240
"Dance Studio"

data/presets/amenity/driving_school.json data/presets/education/driving_school.json

+8
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,13 @@
1919
"tags": {
2020
"amenity": "driving_school"
2121
},
22+
"addTags": {
23+
"amenity": "driving_school",
24+
"education": "driving_school"
25+
},
26+
"reference": {
27+
"key": "amenity",
28+
"value": "driving_school"
29+
},
2230
"name": "Driving School"
2331
}

data/presets/amenity/kindergarten.json data/presets/education/kindergarten.json

+8
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,13 @@
3636
"tags": {
3737
"amenity": "kindergarten"
3838
},
39+
"addTags": {
40+
"amenity": "kindergarten",
41+
"education": "kindergarten"
42+
},
43+
"reference": {
44+
"key": "amenity",
45+
"value": "kindergarten"
46+
},
3947
"name": "Preschool / Kindergarten Grounds"
4048
}

data/presets/amenity/language_school.json data/presets/education/language_school.json

+8
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,13 @@
2727
"tags": {
2828
"amenity": "language_school"
2929
},
30+
"addTags": {
31+
"amenity": "language_school",
32+
"education": "language_school"
33+
},
34+
"reference": {
35+
"key": "amenity",
36+
"value": "language_school"
37+
},
3038
"name": "Language School"
3139
}

data/presets/amenity/music_school.json data/presets/education/music_school.json

+8
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,13 @@
2020
"tags": {
2121
"amenity": "music_school"
2222
},
23+
"addTags": {
24+
"amenity": "music_school",
25+
"education": "music_school"
26+
},
27+
"reference": {
28+
"key": "amenity",
29+
"value": "music_school"
30+
},
2331
"name": "Music School"
2432
}

data/presets/amenity/prep_school.json data/presets/education/prep_school.json

+8
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,13 @@
2828
"tags": {
2929
"amenity": "prep_school"
3030
},
31+
"addTags": {
32+
"amenity": "prep_school",
33+
"education": "prep_school"
34+
},
35+
"reference": {
36+
"key": "amenity",
37+
"value": "prep_school"
38+
},
3139
"name": "Test Prep / Tutoring School"
3240
}

data/presets/amenity/school.json data/presets/education/school.json

+8
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,13 @@
3939
"tags": {
4040
"amenity": "school"
4141
},
42+
"addTags": {
43+
"amenity": "school",
44+
"education": "school"
45+
},
46+
"reference": {
47+
"key": "amenity",
48+
"value": "school"
49+
},
4250
"name": "School Grounds"
4351
}

data/presets/amenity/university.json data/presets/education/university.json

+8
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,13 @@
1919
"tags": {
2020
"amenity": "university"
2121
},
22+
"addTags": {
23+
"amenity": "university",
24+
"education": "university"
25+
},
26+
"reference": {
27+
"key": "amenity",
28+
"value": "university"
29+
},
2230
"name": "University Grounds"
2331
}

0 commit comments

Comments
 (0)