forked from MapComplete/MapComplete
Some more attributes for schools
This commit is contained in:
parent
f3ef8bd030
commit
21137f5ca7
2 changed files with 10 additions and 2 deletions
|
@ -86,7 +86,11 @@ function main() {
|
||||||
const gokSchool = aantallen.some(x => x["GOK-school"] === "GON-school")
|
const gokSchool = aantallen.some(x => x["GOK-school"] === "GON-school")
|
||||||
const hoofdstructuur = fetch("hoofdstructuur")
|
const hoofdstructuur = fetch("hoofdstructuur")
|
||||||
const onderwijsvorm = fetch("onderwijsvorm")
|
const onderwijsvorm = fetch("onderwijsvorm")
|
||||||
|
const koepel = fetch("koepel")
|
||||||
|
const stelsel = fetch("stelsel")
|
||||||
|
const scholengemeenschap = fetch("scholengemeenschap")
|
||||||
|
const graden =fetch("graad secundair onderwijs")
|
||||||
|
graden.sort()
|
||||||
let specialEducation = false
|
let specialEducation = false
|
||||||
const classification = hoofdstructuur.map(s => {
|
const classification = hoofdstructuur.map(s => {
|
||||||
const v = structuren[s]
|
const v = structuren[s]
|
||||||
|
@ -100,6 +104,10 @@ function main() {
|
||||||
return v
|
return v
|
||||||
})
|
})
|
||||||
props["school"] = Utils.Dedup(classification).join("; ")
|
props["school"] = Utils.Dedup(classification).join("; ")
|
||||||
|
props["degrees"] = graden.join(";")
|
||||||
|
props["koepel"] = koepel.join(";")
|
||||||
|
props["scholengemeenschap"] = scholengemeenschap.join(";")
|
||||||
|
props["stelsel"] = stelsel
|
||||||
if (specialEducation) {
|
if (specialEducation) {
|
||||||
props["school:for"] = "special_education"
|
props["school:for"] = "special_education"
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue