mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 04:13:50 +01:00
Support education tags on education presets (#1472)
This commit is contained in:
parent
3f724af32a
commit
820aa16a92
12 changed files with 149 additions and 2 deletions
18
data/fields/education.json
Normal file
18
data/fields/education.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
39
data/presets/education.json
Normal file
39
data/presets/education.json
Normal 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
|
||||
}
|
||||
18
data/presets/education/_yes.json
Normal file
18
data/presets/education/_yes.json
Normal 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)"
|
||||
}
|
||||
|
|
@ -26,5 +26,13 @@
|
|||
"tags": {
|
||||
"amenity": "college"
|
||||
},
|
||||
"addTags": {
|
||||
"amenity": "college",
|
||||
"education": "college"
|
||||
},
|
||||
"reference": {
|
||||
"key": "amenity",
|
||||
"value": "college"
|
||||
},
|
||||
"name": "College Grounds"
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
@ -19,5 +19,13 @@
|
|||
"tags": {
|
||||
"amenity": "driving_school"
|
||||
},
|
||||
"addTags": {
|
||||
"amenity": "driving_school",
|
||||
"education": "driving_school"
|
||||
},
|
||||
"reference": {
|
||||
"key": "amenity",
|
||||
"value": "driving_school"
|
||||
},
|
||||
"name": "Driving School"
|
||||
}
|
||||
|
|
@ -36,5 +36,13 @@
|
|||
"tags": {
|
||||
"amenity": "kindergarten"
|
||||
},
|
||||
"addTags": {
|
||||
"amenity": "kindergarten",
|
||||
"education": "kindergarten"
|
||||
},
|
||||
"reference": {
|
||||
"key": "amenity",
|
||||
"value": "kindergarten"
|
||||
},
|
||||
"name": "Preschool / Kindergarten Grounds"
|
||||
}
|
||||
|
|
@ -27,5 +27,13 @@
|
|||
"tags": {
|
||||
"amenity": "language_school"
|
||||
},
|
||||
"addTags": {
|
||||
"amenity": "language_school",
|
||||
"education": "language_school"
|
||||
},
|
||||
"reference": {
|
||||
"key": "amenity",
|
||||
"value": "language_school"
|
||||
},
|
||||
"name": "Language School"
|
||||
}
|
||||
|
|
@ -20,5 +20,13 @@
|
|||
"tags": {
|
||||
"amenity": "music_school"
|
||||
},
|
||||
"addTags": {
|
||||
"amenity": "music_school",
|
||||
"education": "music_school"
|
||||
},
|
||||
"reference": {
|
||||
"key": "amenity",
|
||||
"value": "music_school"
|
||||
},
|
||||
"name": "Music School"
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -39,5 +39,13 @@
|
|||
"tags": {
|
||||
"amenity": "school"
|
||||
},
|
||||
"addTags": {
|
||||
"amenity": "school",
|
||||
"education": "school"
|
||||
},
|
||||
"reference": {
|
||||
"key": "amenity",
|
||||
"value": "school"
|
||||
},
|
||||
"name": "School Grounds"
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue