forked from MapComplete/MapComplete
		
	Further work on the educational theme
This commit is contained in:
		
							parent
							
								
									e44133645a
								
							
						
					
					
						commit
						d8b90eff3b
					
				
					 4 changed files with 39 additions and 7 deletions
				
			
		|  | @ -9,7 +9,8 @@ | ||||||
|     "osmTags": { |     "osmTags": { | ||||||
|       "or": [ |       "or": [ | ||||||
|         "amenity=childcare", |         "amenity=childcare", | ||||||
|         "amenity=kindergarten" |         "amenity=kindergarten", | ||||||
|  |         "isced:level:2011=early_childhood" | ||||||
|       ] |       ] | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|  |  | ||||||
|  | @ -56,6 +56,12 @@ | ||||||
|       "id": "education-level", |       "id": "education-level", | ||||||
|       "question": "What level of education is given on this school?", |       "question": "What level of education is given on this school?", | ||||||
|       "mappings": [ |       "mappings": [ | ||||||
|  |         { | ||||||
|  |           "if": "isced:2011:level=early_childhood", | ||||||
|  |           "then": { | ||||||
|  |             "en": "This is a school with a kindergarten section where young kids receive some education which prepares reading and writing." | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|         { |         { | ||||||
|           "if": "isced:2011:level=primary", |           "if": "isced:2011:level=primary", | ||||||
|           "then": { |           "then": { | ||||||
|  | @ -188,7 +194,28 @@ | ||||||
|     }, |     }, | ||||||
|     "website", |     "website", | ||||||
|     "phone", |     "phone", | ||||||
|     "email" |     "email", | ||||||
|  |     { | ||||||
|  |       "id": "language", | ||||||
|  |       "question": { | ||||||
|  |         "en": "What is the main language of this school?<div class='subtle'>What language is spoken with the students in non-language related courses and with the administration?</div>" | ||||||
|  |       }, | ||||||
|  |       "render": { | ||||||
|  |         "en":"{school:language} is the main language of {title()}" | ||||||
|  |       }, | ||||||
|  |       "freeform": { | ||||||
|  |         "key": "school:language", | ||||||
|  |         "type": "language", | ||||||
|  |         "inline": true | ||||||
|  |       }, | ||||||
|  |       "mappings": [{ | ||||||
|  |         "if": "school:language=", | ||||||
|  |         "then": { | ||||||
|  |           "en": "The main language of this school is unknown" | ||||||
|  |         }, | ||||||
|  |         "hideInAnswer": true | ||||||
|  |       }] | ||||||
|  |     } | ||||||
|   ], |   ], | ||||||
|   "presets": [ |   "presets": [ | ||||||
|     { |     { | ||||||
|  |  | ||||||
|  | @ -52,9 +52,12 @@ | ||||||
|     ] |     ] | ||||||
|   }, |   }, | ||||||
|   "tagRenderings": [ |   "tagRenderings": [ | ||||||
|     "school.capacity", |     { | ||||||
|     "school.gender", |       "builtin": ["school.capacity","school.gender"], | ||||||
|     "school.target-audience", |       "override": { | ||||||
|  |         "condition": null | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "website", |     "website", | ||||||
|     "email", |     "email", | ||||||
|     "phone" |     "phone" | ||||||
|  |  | ||||||
|  | @ -13,9 +13,10 @@ | ||||||
|   "startLon": 0, |   "startLon": 0, | ||||||
|   "startZoom": 0, |   "startZoom": 0, | ||||||
|   "icon": "./assets/layers/school/college.svg", |   "icon": "./assets/layers/school/college.svg", | ||||||
|  |   "#layers:note": "kindergarten_childcare must be _below_ school, as it can 'catch' primary schools which do have an integrated preschool", | ||||||
|   "layers": [ |   "layers": [ | ||||||
|     "kindergarten_childcare", |  | ||||||
|     "school", |     "school", | ||||||
|     "tertiary_education" |     "tertiary_education", | ||||||
|  |     "kindergarten_childcare" | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue