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 @@
{
"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

@ -0,0 +1,38 @@
{
"icon": "maki-college",
"fields": [
"name",
"operator",
"operator/type",
"address",
"website",
"{@templates/internet_access}"
],
"moreFields": [
"{@templates/internet_access}",
"{@templates/poi}",
"denomination",
"ref/edubase-GB",
"religion"
],
"geometry": [
"area",
"point"
],
"terms": [
"university",
"undergraduate school"
],
"tags": {
"amenity": "college"
},
"addTags": {
"amenity": "college",
"education": "college"
},
"reference": {
"key": "amenity",
"value": "college"
},
"name": "College Grounds"
}

View file

@ -0,0 +1,42 @@
{
"icon": "fas-music",
"fields": [
"name",
"operator",
"address",
"building_area_yes",
"opening_hours",
"dance/style"
],
"moreFields": [
"{@templates/poi}"
],
"geometry": [
"point",
"area"
],
"terms": [
"ballet",
"ballet studio",
"dance teaching",
"jive",
"swing",
"tango",
"waltz"
],
"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

@ -0,0 +1,31 @@
{
"icon": "temaki-car_pool",
"fields": [
"name",
"operator",
"operator/type",
"address",
"building_area",
"opening_hours"
],
"moreFields": [
"{@templates/poi}",
"license_classes"
],
"geometry": [
"point",
"area"
],
"tags": {
"amenity": "driving_school"
},
"addTags": {
"amenity": "driving_school",
"education": "driving_school"
},
"reference": {
"key": "amenity",
"value": "driving_school"
},
"name": "Driving School"
}

View file

@ -0,0 +1,48 @@
{
"icon": "temaki-school",
"fields": [
"name",
"operator",
"operator/type",
"address",
"phone",
"preschool"
],
"moreFields": [
"{@templates/contact}",
"capacity",
"fhrs/id-GB",
"gnis/feature_id-US",
"ref/edubase-GB",
"internet_access",
"internet_access/ssid",
"level",
"max_age",
"min_age",
"not/name",
"opening_hours",
"payment_multi",
"wheelchair"
],
"geometry": [
"area",
"point"
],
"terms": [
"kindergarten",
"kindergarden",
"pre-school"
],
"tags": {
"amenity": "kindergarten"
},
"addTags": {
"amenity": "kindergarten",
"education": "kindergarten"
},
"reference": {
"key": "amenity",
"value": "kindergarten"
},
"name": "Preschool / Kindergarten Grounds"
}

View file

@ -0,0 +1,39 @@
{
"icon": "temaki-school",
"fields": [
"name",
"operator",
"operator/type",
"address",
"building_area_yes",
"opening_hours",
"language_multi"
],
"moreFields": [
"{@templates/contact}",
"{@templates/internet_access}",
"gnis/feature_id-US",
"level",
"payment_multi",
"wheelchair"
],
"geometry": [
"point",
"area"
],
"terms": [
"esl"
],
"tags": {
"amenity": "language_school"
},
"addTags": {
"amenity": "language_school",
"education": "language_school"
},
"reference": {
"key": "amenity",
"value": "language_school"
},
"name": "Language School"
}

View file

@ -0,0 +1,32 @@
{
"icon": "fas-music",
"fields": [
"name",
"operator",
"address",
"building_area_yes",
"opening_hours"
],
"moreFields": [
"{@templates/poi}"
],
"geometry": [
"point",
"area"
],
"terms": [
"school of music"
],
"tags": {
"amenity": "music_school"
},
"addTags": {
"amenity": "music_school",
"education": "music_school"
},
"reference": {
"key": "amenity",
"value": "music_school"
},
"name": "Music School"
}

View file

@ -0,0 +1,40 @@
{
"icon": "temaki-school",
"fields": [
"name",
"operator",
"address",
"building_area_yes",
"opening_hours"
],
"moreFields": [
"{@templates/poi}"
],
"geometry": [
"point",
"area"
],
"terms": [
"academic",
"ACT",
"SAT",
"homework",
"math",
"reading",
"test prep",
"tutoring",
"writing"
],
"tags": {
"amenity": "prep_school"
},
"addTags": {
"amenity": "prep_school",
"education": "prep_school"
},
"reference": {
"key": "amenity",
"value": "prep_school"
},
"name": "Test Prep / Tutoring School"
}

View file

@ -0,0 +1,51 @@
{
"icon": "temaki-school",
"fields": [
"name",
"operator",
"operator/type",
"address",
"grades",
"religion",
"denomination",
"website",
"building_area"
],
"moreFields": [
"{@templates/contact}",
"{@templates/internet_access}",
"capacity",
"charge_fee",
"fee",
"fhrs/id-GB",
"gnis/feature_id-US",
"ref/edubase-GB",
"internet_access",
"internet_access/ssid",
"level",
"polling_station",
"wheelchair"
],
"geometry": [
"area",
"point"
],
"terms": [
"academy",
"elementary school",
"middle school",
"high school"
],
"tags": {
"amenity": "school"
},
"addTags": {
"amenity": "school",
"education": "school"
},
"reference": {
"key": "amenity",
"value": "school"
},
"name": "School Grounds"
}

View file

@ -0,0 +1,31 @@
{
"icon": "maki-college",
"fields": [
"{education/college}"
],
"moreFields": [
"{education/college}"
],
"geometry": [
"area",
"point"
],
"terms": [
"college",
"graduate school",
"PhD program",
"master's degree program"
],
"tags": {
"amenity": "university"
},
"addTags": {
"amenity": "university",
"education": "university"
},
"reference": {
"key": "amenity",
"value": "university"
},
"name": "University Grounds"
}