Skip to content

Commit

Permalink
Add specific school presets for the DE
Browse files Browse the repository at this point in the history
This is based on openstreetmap#1021

I reused the school and isced level presets and fields from openstreetmap#1021 whenever possible. It will be important to add the correct translations during the translation process
- `school/1-US,DE.json` => "Grundschule"
- `school/2-US,DE.json` => "Sekundarschule ohne Oberstufe"
- `school/2-DE.json` => "Sekundarschule mit Oberstufe"

The ISCED level fields work nicely with the multiCombo by automatically selecting the right preset based on the field combinations.

This is a fresh take on and supersedes openstreetmap#331
  • Loading branch information
tordans committed Oct 6, 2023
1 parent e815b53 commit 44fa551
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
@@ -1,7 +1,8 @@
{
"locationSet": {
"include": [
"us"
"us",
"de"
]
},
"key": "isced:level",
Expand Down
2 changes: 1 addition & 1 deletion data/presets/amenity/school.json
Expand Up @@ -2,7 +2,7 @@
"icon": "temaki-school",
"fields": [
"name",
"isced/level-US",
"isced/level-US,DE",
"operator",
"operator/type",
"address",
Expand Down
Expand Up @@ -2,7 +2,8 @@
"icon": "temaki-school",
"locationSet": {
"include": [
"us"
"us",
"de"
]
},
"terms": [
Expand Down
Expand Up @@ -2,7 +2,8 @@
"icon": "temaki-school",
"locationSet": {
"include": [
"us"
"us",
"de"
]
},
"terms": [
Expand Down
25 changes: 25 additions & 0 deletions data/presets/amenity/school/3-DE.json
@@ -0,0 +1,25 @@
{
"icon": "temaki-school",
"locationSet": {
"include": [
"de"
]
},
"terms": [
"secondary school",
"grade 12",
"grade 13"
],
"geometry": [
"area",
"point"
],
"tags": {
"amenity": "school",
"isced:level": "2;3"
},
"reference": {
"key": "isced:level"
},
"name": "Secondary School Grounds (Grade 5-12/13)"
}

0 comments on commit 44fa551

Please sign in to comment.