Support education tags on education presets (#1472)

This commit is contained in:
Quincy Morgan 2025-07-27 10:28:17 -04:00 committed by GitHub
parent 3f724af32a
commit 820aa16a92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 149 additions and 2 deletions

View file

@ -0,0 +1,18 @@
{
"key": "education",
"type": "typeCombo",
"label": "Type",
"strings": {
"options": {
"college": "College",
"dancing_school": "Dancing School",
"driving_school": "Driving School",
"kindergarten": "Kindergarten",
"language_school": "Language School",
"music_school": "Music School",
"prep_school": "Test Prep / Tutoring School",
"school": "School",
"university": "University"
}
}
}

View file

@ -0,0 +1,39 @@
{
"icon": "temaki-school",
"fields": [
"name",
"education",
"operator",
"address",
"building_area",
"phone",
"website"
],
"moreFields": [
"{@templates/contact}",
"branch_brand",
"brand",
"building/levels_building",
"gnis/feature_id-US",
"height_building",
"level",
"opening_hours",
"payment_multi",
"wheelchair"
],
"geometry": [
"point",
"area"
],
"tags": {
"education": "*"
},
"terms": [
"classes",
"school",
"teaching",
"training"
],
"name": "Education Facility",
"matchScore": 0.7
}

View file

@ -0,0 +1,18 @@
{
"icon": "temaki-school",
"fields": [
"name",
"education",
"{education}"
],
"geometry": [
"point",
"area"
],
"tags": {
"education": "yes"
},
"searchable": false,
"matchScore": 0.5,
"name": "Education Facility (Unspecified Type)"
}

View file

@ -26,5 +26,13 @@
"tags": {
"amenity": "college"
},
"addTags": {
"amenity": "college",
"education": "college"
},
"reference": {
"key": "amenity",
"value": "college"
},
"name": "College Grounds"
}

View file

@ -27,6 +27,14 @@
"tags": {
"amenity": "dancing_school"
},
"addTags": {
"amenity": "dancing_school",
"education": "dancing_school"
},
"reference": {
"key": "amenity",
"value": "dancing_school"
},
"name": "Dance School",
"aliases": [
"Dance Studio"

View file

@ -19,5 +19,13 @@
"tags": {
"amenity": "driving_school"
},
"addTags": {
"amenity": "driving_school",
"education": "driving_school"
},
"reference": {
"key": "amenity",
"value": "driving_school"
},
"name": "Driving School"
}

View file

@ -36,5 +36,13 @@
"tags": {
"amenity": "kindergarten"
},
"addTags": {
"amenity": "kindergarten",
"education": "kindergarten"
},
"reference": {
"key": "amenity",
"value": "kindergarten"
},
"name": "Preschool / Kindergarten Grounds"
}

View file

@ -27,5 +27,13 @@
"tags": {
"amenity": "language_school"
},
"addTags": {
"amenity": "language_school",
"education": "language_school"
},
"reference": {
"key": "amenity",
"value": "language_school"
},
"name": "Language School"
}

View file

@ -20,5 +20,13 @@
"tags": {
"amenity": "music_school"
},
"addTags": {
"amenity": "music_school",
"education": "music_school"
},
"reference": {
"key": "amenity",
"value": "music_school"
},
"name": "Music School"
}

View file

@ -28,5 +28,13 @@
"tags": {
"amenity": "prep_school"
},
"addTags": {
"amenity": "prep_school",
"education": "prep_school"
},
"reference": {
"key": "amenity",
"value": "prep_school"
},
"name": "Test Prep / Tutoring School"
}

View file

@ -39,5 +39,13 @@
"tags": {
"amenity": "school"
},
"addTags": {
"amenity": "school",
"education": "school"
},
"reference": {
"key": "amenity",
"value": "school"
},
"name": "School Grounds"
}

View file

@ -1,10 +1,10 @@
{
"icon": "maki-college",
"fields": [
"{amenity/college}"
"{education/college}"
],
"moreFields": [
"{amenity/college}"
"{education/college}"
],
"geometry": [
"area",
@ -19,5 +19,13 @@
"tags": {
"amenity": "university"
},
"addTags": {
"amenity": "university",
"education": "university"
},
"reference": {
"key": "amenity",
"value": "university"
},
"name": "University Grounds"
}