Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions data/fields/education.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
Comment thread
tordans marked this conversation as resolved.
39 changes: 39 additions & 0 deletions data/presets/education.json
Original file line number Diff line number Diff line change
@@ -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": "*"
Comment thread
tordans marked this conversation as resolved.
},
"terms": [
"classes",
"school",
"teaching",
"training"
],
"name": "Education Facility",
"matchScore": 0.7
}
18 changes: 18 additions & 0 deletions data/presets/education/_yes.json
Original file line number Diff line number Diff line change
@@ -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)"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,13 @@
"tags": {
"amenity": "college"
},
"addTags": {
"amenity": "college",
"education": "college"
},
"reference": {
"key": "amenity",
"value": "college"
},
"name": "College Grounds"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,13 @@
"tags": {
"amenity": "driving_school"
},
"addTags": {
"amenity": "driving_school",
"education": "driving_school"
},
"reference": {
"key": "amenity",
"value": "driving_school"
},
"name": "Driving School"
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,13 @@
"tags": {
"amenity": "kindergarten"
},
"addTags": {
"amenity": "kindergarten",
"education": "kindergarten"
},
"reference": {
"key": "amenity",
"value": "kindergarten"
},
"name": "Preschool / Kindergarten Grounds"
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,13 @@
"tags": {
"amenity": "language_school"
},
"addTags": {
"amenity": "language_school",
"education": "language_school"
},
"reference": {
"key": "amenity",
"value": "language_school"
},
"name": "Language School"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,13 @@
"tags": {
"amenity": "music_school"
},
"addTags": {
"amenity": "music_school",
"education": "music_school"
},
"reference": {
"key": "amenity",
"value": "music_school"
},
"name": "Music School"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,13 @@
"tags": {
"amenity": "school"
},
"addTags": {
"amenity": "school",
"education": "school"
},
"reference": {
"key": "amenity",
"value": "school"
},
"name": "School Grounds"
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"icon": "maki-college",
"fields": [
"{amenity/college}"
"{education/college}"
],
"moreFields": [
"{amenity/college}"
"{education/college}"
],
"geometry": [
"area",
Expand All @@ -19,5 +19,13 @@
"tags": {
"amenity": "university"
},
"addTags": {
"amenity": "university",
"education": "university"
},
"reference": {
"key": "amenity",
"value": "university"
},
"name": "University Grounds"
}