Skip to content

Commit

Permalink
Add specific school presets for the US
Browse files Browse the repository at this point in the history
  • Loading branch information
arch0345 committed Oct 6, 2023
1 parent f2c16fb commit e815b53
Show file tree
Hide file tree
Showing 6 changed files with 116 additions and 0 deletions.
19 changes: 19 additions & 0 deletions data/fields/isced/level-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"locationSet": {
"include": [
"us"
]
},
"key": "isced:level",
"type": "semiCombo",
"label": "Type",
"strings": {
"options": {
"1": "Elementary School",
"2": "Middle School",
"3": "High School"
}
},
"autoSuggestions": false,
"customValues": false
}
1 change: 1 addition & 0 deletions data/presets/amenity/school.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"icon": "temaki-school",
"fields": [
"name",
"isced/level-US",
"operator",
"operator/type",
"address",
Expand Down
23 changes: 23 additions & 0 deletions data/presets/amenity/school/1-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"icon": "temaki-school",
"locationSet": {
"include": [
"us"
]
},
"terms": [
"primary school"
],
"geometry": [
"area",
"point"
],
"tags": {
"amenity": "school",
"isced:level": "1"
},
"reference": {
"key": "isced:level"
},
"name": "Elementary School Grounds"
}
24 changes: 24 additions & 0 deletions data/presets/amenity/school/2-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"icon": "temaki-school",
"locationSet": {
"include": [
"us"
]
},
"terms": [
"junior high school",
"intermediate school"
],
"geometry": [
"area",
"point"
],
"tags": {
"amenity": "school",
"isced:level": "2"
},
"reference": {
"key": "isced:level"
},
"name": "Middle School Grounds"
}
24 changes: 24 additions & 0 deletions data/presets/amenity/school/3-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"icon": "temaki-school",
"locationSet": {
"include": [
"us"
]
},
"terms": [
"senior high school",
"secondary school"
],
"geometry": [
"area",
"point"
],
"tags": {
"amenity": "school",
"isced:level": "3"
},
"reference": {
"key": "isced:level"
},
"name": "High School Grounds"
}
25 changes: 25 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2805,6 +2805,16 @@ en:
# interval=*
label: Interval
terms: '[translate with synonyms or related terms for ''Interval'', separated by commas]'
isced/level-US:
# isced:level=* | Local preset for countries "US"
label: Type
options:
# isced:level=1
'1': Elementary School
# isced:level=2
'2': Middle School
# isced:level=3
'3': High School
junction/ref_oneway:
# junction:ref=*
label: Junction Number
Expand Down Expand Up @@ -7090,6 +7100,21 @@ en:
name: School Grounds
# 'terms: academy,elementary school,middle school,high school'
terms: <translate with synonyms or related terms for 'School Grounds', separated by commas>
amenity/school/1-US:
# amenity=school + isced:level=1 | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). | Local preset for countries "US"
name: Elementary School Grounds
# 'terms: primary school'
terms: <translate with synonyms or related terms for 'Elementary School Grounds', separated by commas>
amenity/school/2-US:
# amenity=school + isced:level=2 | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). | Local preset for countries "US"
name: Middle School Grounds
# 'terms: junior high school,intermediate school'
terms: <translate with synonyms or related terms for 'Middle School Grounds', separated by commas>
amenity/school/3-US:
# amenity=school + isced:level=3 | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). | Local preset for countries "US"
name: High School Grounds
# 'terms: senior high school,secondary school'
terms: <translate with synonyms or related terms for 'High School Grounds', separated by commas>
amenity/shelter:
# amenity=shelter | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Shelter
Expand Down

0 comments on commit e815b53

Please sign in to comment.