mapcomplete/assets/layers/kindergarten_childcare/kindergarten_childcare.json

165 lines
4.3 KiB
JSON
Raw Normal View History

2022-06-07 19:48:09 +02:00
{
"id": "kindergarten_childcare",
"name": {
2022-06-22 18:56:02 +02:00
"en": "Kindergartens and childcare",
"nl": "Kleuterscholen en kinderopvang"
2022-06-07 19:48:09 +02:00
},
"description": "Shows kindergartens and preschools. Both are grouped in one layer, as they are regularly confused with each other",
"minzoom": 12,
"source": {
"osmTags": {
"or": [
"amenity=childcare",
2022-06-09 16:49:02 +02:00
"amenity=kindergarten",
"isced:level:2011=early_childhood"
2022-06-07 19:48:09 +02:00
]
}
},
"title": {
"mappings": [
{
"if": "amenity=kindergarten",
"then": {
2022-06-22 18:56:02 +02:00
"en": "Kindergarten {name}",
"nl": "Kleuterschool {name}"
2022-06-07 19:48:09 +02:00
}
},
{
"if": "amenity=childcare",
"then": {
2022-06-22 18:56:02 +02:00
"en": "Childcare {name}",
"nl": "Kinderopvang {name}"
2022-06-07 19:48:09 +02:00
}
}
]
},
"tagRenderings": [
{
"id": "childcare-type",
"question": {
2022-06-22 18:56:02 +02:00
"en": "What type of facility is this?",
"nl": "Wat voor faciliteit is dit?"
2022-06-07 19:48:09 +02:00
},
"mappings": [
{
"if": "amenity=kindergarten",
"then": {
2022-06-22 18:56:02 +02:00
"en": "This is a kindergarten (also known as <i>preschool</i>) where small kids receive early education.",
"nl": "Dit is een kleuterschool waar kindjes (voorbereidend) onderwijs krijgen."
2022-06-07 19:48:09 +02:00
},
"addExtraTags": [
"isced:level=0",
"isced:2011:level=early_childhood"
]
},
{
"if": "amenity=childcare",
"then": {
2022-06-22 18:56:02 +02:00
"en": "This is a childcare facility, such as a nursery or daycare where small kids are looked after. They do not offer an education and are ofter run as private businesses",
"nl": "Dit is een kinderopvang (ook een creche of onthaalmoeder genoemd) waar er voor kleine kinderen gezorgd wordt. Onderwijs is niet de hoofdfocus."
2022-06-07 19:48:09 +02:00
},
"addExtraTags": [
"isced:level=",
"isced:2011:level="
]
}
]
},
{
"id": "name",
"question": "What is the name of this facility?",
"render": "This facility is named <b>{name}</b>",
"freeform": {
"key": "name"
}
},
"website",
"email",
"phone",
{
"builtin": "opening_hours",
"override": {
"question": {
2022-06-22 18:56:02 +02:00
"en": "When is this childcare opened?",
"nl": "Wanneer is deze kinderopvang geopend?"
2022-06-07 19:48:09 +02:00
},
"condition": "amenity=childcare"
}
},
{
"id": "capacity",
"question": {
2022-06-22 18:56:02 +02:00
"en": "How much kids (at most) can be enrolled here?",
"nl": "Hoeveel kinderen kunnen hier terecht?"
2022-06-07 19:48:09 +02:00
},
"render": {
2022-06-22 18:56:02 +02:00
"en": "This facility has room for {capacity} kids",
"nl": "Hier kunnen {capacity} kinderen terecht"
2022-06-07 19:48:09 +02:00
},
"freeform": {
"key": "capacity",
"type": "pnat"
}
}
],
"presets": [
{
"title": {
2022-06-22 18:56:02 +02:00
"en": "a kindergarten",
"nl": "een kleuterschool"
2022-06-07 19:48:09 +02:00
},
"description": "A kindergarten (also known as <i>preschool</i>) is a school where small kids receive early education.",
"tags": [
"amenity=kindergarten",
"isced:level=0",
"isced:2011:level=early_childhood"
]
},
{
"title": {
2022-06-22 18:56:02 +02:00
"en": "a childcare",
"nl": "een kinderopvang"
2022-06-07 19:48:09 +02:00
},
"description": "A childcare (also known as <i>a nursery</i> or <i>daycare</i>) is a facility which looks after small kids, but does not offer them an education program.",
"tags": [
"amenity=kindergarten"
]
}
],
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div class='bg-white rounded-lg p-1'>{name}</div>"
}
]
},
"icon": {
"mappings": [
{
"if": "amenity=kindergarten",
2022-06-08 12:26:01 +02:00
"then": "circle:white;./assets/layers/kindergarten_childcare/kindergarten.svg"
2022-06-07 19:48:09 +02:00
},
{
"if": "amenity=childcare",
"then": "circle:white;./assets/layers/kindergarten_childcare/childcare.svg"
}
]
}
},
{
"color": "#62fc6c",
"width": 1
}
],
"allowMove": {
"enableRelocation": true,
"enableImproveAccuracy": true
}
}