forked from MapComplete/MapComplete
		
	Standalone disaster_response layer
This commit is contained in:
		
							parent
							
								
									2a3e8a716c
								
							
						
					
					
						commit
						042b10a8b9
					
				
					 14 changed files with 168 additions and 125 deletions
				
			
		
							
								
								
									
										5
									
								
								assets/layers/disaster_response/CivilDefence.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								assets/layers/disaster_response/CivilDefence.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <svg xmlns="http://www.w3.org/2000/svg" width="700" height="700" viewBox="-350 -350 700 700"> | ||||||
|  | <circle fill="#FFAA00" r="350"/> | ||||||
|  | <path fill="#003680" d="M249.41531629,144H-249.41531629L0-288z"/> | ||||||
|  | </svg> | ||||||
| After Width: | Height: | Size: 238 B | 
							
								
								
									
										2
									
								
								assets/layers/disaster_response/CivilDefence.svg.license
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								assets/layers/disaster_response/CivilDefence.svg.license
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | ||||||
|  | SPDX-FileCopyrightText: https://commons.wikimedia.org/wiki/User:MStankie | ||||||
|  | SPDX-License-Identifier: LicenseRef-TRIVIAL | ||||||
							
								
								
									
										70
									
								
								assets/layers/disaster_response/disaster_response.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								assets/layers/disaster_response/disaster_response.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,70 @@ | ||||||
|  | { | ||||||
|  |   "id": "disaster_response", | ||||||
|  |   "title": { | ||||||
|  |     "en": "Disaster response organization", | ||||||
|  |     "it": "Organizzazione per la risposta ai disastri" | ||||||
|  |   }, | ||||||
|  |   "description": { | ||||||
|  |     "en": "This layer contains organizations that have the main objective to help the civil population during and after natural or anthropogenic disasters by working in the affected area.", | ||||||
|  |     "it": "Questo livello contiene organizzazioni che hanno come obiettivo principale quello di aiutare la popolazione civile durante e dopo disastri naturali o antropogenici, lavorando nell'area colpita." | ||||||
|  |   }, | ||||||
|  |   "docs": "https://wiki.openstreetmap.org/wiki/Tag:emergency%3Ddisaster_response", | ||||||
|  |   "minzoom": 10, | ||||||
|  |   "lineRendering": [ | ||||||
|  |     { | ||||||
|  |       "color": "#6BC4F7", | ||||||
|  |       "width": 3 | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "presets": [ | ||||||
|  |     { | ||||||
|  |       "title": { | ||||||
|  |         "en": "a disaster response organization", | ||||||
|  |         "it": "un'organizzazione per la risposta ai disastri" | ||||||
|  |       }, | ||||||
|  |       "tags": [ | ||||||
|  |         "emergency=disaster_response" | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "source": { | ||||||
|  |     "osmTags": { | ||||||
|  |       "and": [ | ||||||
|  |         "emergency=disaster_response" | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "pointRendering": [ | ||||||
|  |     { | ||||||
|  |       "iconSize": "40,40", | ||||||
|  |       "location": [ | ||||||
|  |         "point", | ||||||
|  |         "centroid" | ||||||
|  |       ], | ||||||
|  |       "anchor": "bottom", | ||||||
|  |       "marker": [ | ||||||
|  |         { | ||||||
|  |           "icon": "./assets/themes/disaster_response/CivilDefence.svg" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ], | ||||||
|  |   "tagRenderings": [ | ||||||
|  |     "images", | ||||||
|  |     "website", | ||||||
|  |     { | ||||||
|  |       "id": "disaster_response_name", | ||||||
|  |       "freeform": { | ||||||
|  |         "key": "name" | ||||||
|  |       }, | ||||||
|  |       "question": { | ||||||
|  |         "en": "What is the name of this organization?", | ||||||
|  |         "it": "Qual è il nome di questa organizzazione?" | ||||||
|  |       }, | ||||||
|  |       "render": { | ||||||
|  |         "en": "This organization is named <b>{name}</b>", | ||||||
|  |         "it": "Questa organizzazione si chiama <b>{name}</b>" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										12
									
								
								assets/layers/disaster_response/license_info.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								assets/layers/disaster_response/license_info.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | ||||||
|  | [ | ||||||
|  |   { | ||||||
|  |     "path": "CivilDefence.svg", | ||||||
|  |     "license": "TRIVIAL", | ||||||
|  |     "authors": [ | ||||||
|  |       "https://commons.wikimedia.org/wiki/User:MStankie" | ||||||
|  |     ], | ||||||
|  |     "sources": [ | ||||||
|  |       "https://commons.wikimedia.org/wiki/File:CivilDefence.svg" | ||||||
|  |     ] | ||||||
|  |   } | ||||||
|  | ] | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
|   "docs": "https://wiki.openstreetmap.org/wiki/Emergency_facilities_and_amenities", |   "docs": "https://wiki.openstreetmap.org/wiki/Emergency_facilities_and_amenities", | ||||||
|   "icon": "./assets/themes/disaster_response/CivilDefence.svg", |   "icon": "./assets/themes/disaster_response/CivilDefence.svg", | ||||||
|   "id": "disaster_response", |   "id": "disaster_response", | ||||||
|   "socialImage": "./assets/themes/disaster_response/social.jpg", |   "socialImage": "./assets/themes/disaster_response/social.svg", | ||||||
|   "title": { |   "title": { | ||||||
|     "en": "Disaster response", |     "en": "Disaster response", | ||||||
|     "it": "Risposta ai disastri" |     "it": "Risposta ai disastri" | ||||||
|  | @ -14,111 +14,6 @@ | ||||||
|   "layers": [ |   "layers": [ | ||||||
|     "hospital", |     "hospital", | ||||||
|     "assembly_point", |     "assembly_point", | ||||||
|     { |     "disaster_response" | ||||||
|       "id": "disaster_response", |  | ||||||
|       "title": "Disaster response", |  | ||||||
|       "description": { |  | ||||||
|         "en": "This layer contains organizations that have the main objective to help the civil population during and after natural or anthropogenic disasters by working in the affected area.", |  | ||||||
|         "it": "Questo livello contiene organizzazioni che hanno come obiettivo principale quello di aiutare la popolazione civile durante e dopo disastri naturali o antropogenici, lavorando nell'area colpita." |  | ||||||
|       }, |  | ||||||
|       "docs": "https://wiki.openstreetmap.org/wiki/Tag:emergency%3Ddisaster_response", |  | ||||||
|       "source": { |  | ||||||
|         "osmTags": { |  | ||||||
|           "and": [ |  | ||||||
|             "emergency=disaster_response" |  | ||||||
|           ] |  | ||||||
|         } |  | ||||||
|       }, |  | ||||||
|       "minzoom": 10, |  | ||||||
|       "lineRendering": [ |  | ||||||
|         { |  | ||||||
|           "color": "#6BC4F7", |  | ||||||
|           "width": 3 |  | ||||||
|         } |  | ||||||
|       ], |  | ||||||
|       "pointRendering": [ |  | ||||||
|         { |  | ||||||
|           "iconSize": "40,40", |  | ||||||
|           "location": [ |  | ||||||
|             "point", |  | ||||||
|             "centroid" |  | ||||||
|           ], |  | ||||||
|           "anchor": "bottom", |  | ||||||
|           "marker": [ |  | ||||||
|             { |  | ||||||
|               "icon": "./assets/themes/disaster_response/CivilDefence.svg" |  | ||||||
|             } |  | ||||||
|           ] |  | ||||||
|         } |  | ||||||
|       ], |  | ||||||
|       "tagRenderings": [ |  | ||||||
|         "images", |  | ||||||
|         "website", |  | ||||||
|         { |  | ||||||
|           "id": "disaster_response_name", |  | ||||||
|           "freeform": { |  | ||||||
|             "key": "name" |  | ||||||
|           }, |  | ||||||
|           "question": { |  | ||||||
|             "en": "What is the name of this organization?", |  | ||||||
|             "it": "Qual è il nome di questa organizzazione?" |  | ||||||
|           }, |  | ||||||
|           "render": { |  | ||||||
|             "en": "This organization is named <b>{name}</b>", |  | ||||||
|             "it": "Questa organizzazione si chiama <b>{name}</b>" |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "id": "ses_station", |  | ||||||
|       "title": "SES station", |  | ||||||
|       "description": { |  | ||||||
|         "en": "This layer contains stations of State Emergency Service (an Australian volunteer organization) mapped using a DEPRECATED tagging scheme.", |  | ||||||
|         "it": "Questo livello contiene stazioni del State Emergency Service (un'organizzazione australiana di volontari) mappate utilizzando uno schema di tagging DEPRECATO." |  | ||||||
|       }, |  | ||||||
|       "docs": "https://wiki.openstreetmap.org/wiki/Tag%3Aemergency%3Dses_station", |  | ||||||
|       "source": { |  | ||||||
|         "osmTags": { |  | ||||||
|           "and": [ |  | ||||||
|             "emergency=ses_station" |  | ||||||
|           ] |  | ||||||
|         } |  | ||||||
|       }, |  | ||||||
|       "minzoom": 10, |  | ||||||
|       "pointRendering": [ |  | ||||||
|         { |  | ||||||
|           "iconSize": "40,40", |  | ||||||
|           "location": [ |  | ||||||
|             "point", |  | ||||||
|             "centroid" |  | ||||||
|           ], |  | ||||||
|           "anchor": "bottom", |  | ||||||
|           "marker": [ |  | ||||||
|             { |  | ||||||
|               "icon": "./assets/themes/disaster_response/CivilDefence.svg" |  | ||||||
|             } |  | ||||||
|           ] |  | ||||||
|         } |  | ||||||
|       ], |  | ||||||
|       "tagRenderings": [ |  | ||||||
|         "images", |  | ||||||
|         "website", |  | ||||||
|         { |  | ||||||
|           "id": "ses_station_name", |  | ||||||
|           "freeform": { |  | ||||||
|             "key": "name" |  | ||||||
|           }, |  | ||||||
|           "question": { |  | ||||||
|             "en": "What is the name of this organization?", |  | ||||||
|             "it": "Qual è il nome di questa organizzazione?" |  | ||||||
|           }, |  | ||||||
|           "render": { |  | ||||||
|             "en": "This organization is named <b>{name}</b>", |  | ||||||
|             "it": "Questa organizzazione si chiama <b>{name}</b>" |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     } |  | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|  | @ -10,13 +10,15 @@ | ||||||
|     ] |     ] | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     "path": "social.jpg", |     "path": "social.svg", | ||||||
|     "license": "CC0-1.0", |     "license": "TRIVIAL", | ||||||
|     "authors": [ |     "authors": [ | ||||||
|       "United States Agency for International Development" |       "Geneva Convention", | ||||||
|  |       "https://commons.wikimedia.org/wiki/User:MStankie", | ||||||
|  |       "https://commons.wikimedia.org/wiki/User:The_Navigators" | ||||||
|     ], |     ], | ||||||
|     "sources": [ |     "sources": [ | ||||||
|       "https://commons.wikimedia.org/wiki/File:A_commune_level_disaster_response_drill_(27239207134).jpg" |       "https://commons.wikimedia.org/wiki/File:Geneva_Convention_Civil_Defence_Symbol_-_Flag.svg" | ||||||
|     ] |     ] | ||||||
|   } |   } | ||||||
| ] | ] | ||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 4 MiB | 
|  | @ -1,2 +0,0 @@ | ||||||
| SPDX-FileCopyrightText: United States Agency for International Development |  | ||||||
| SPDX-License-Identifier: CC0-1.0 |  | ||||||
							
								
								
									
										7
									
								
								assets/themes/disaster_response/social.svg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								assets/themes/disaster_response/social.svg
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0)  --> | ||||||
|  | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | ||||||
|  | <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="974.348px" height="649.889px" viewBox="-136 50.534 974.348 649.889" enable-background="new -136 50.534 974.348 649.889" xml:space="preserve"> | ||||||
|  | <rect x="-136" y="50.534" fill="#FFAA00" width="974.348" height="649.889"/> | ||||||
|  | <path fill="#003680" d="M599.416,591.479H100.584l249.416-432L599.416,591.479z"/> | ||||||
|  | </svg> | ||||||
| After Width: | Height: | Size: 671 B | 
							
								
								
									
										2
									
								
								assets/themes/disaster_response/social.svg.license
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								assets/themes/disaster_response/social.svg.license
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | ||||||
|  | SPDX-FileCopyrightText: Geneva Convention; https://commons.wikimedia.org/wiki/User:MStankie; https://commons.wikimedia.org/wiki/User:The_Navigators | ||||||
|  | SPDX-License-Identifier: LicenseRef-TRIVIAL | ||||||
|  | @ -484,7 +484,21 @@ | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
|     "assembly_point": { |     "assembly_point": { | ||||||
|  |         "description": "This layer contains assembly points and waiting areas where all employees, passengers or a large crowd assemble in case of an emergency.", | ||||||
|  |         "presets": { | ||||||
|  |             "0": { | ||||||
|  |                 "title": "an assembly point" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|         "tagRenderings": { |         "tagRenderings": { | ||||||
|  |             "assembly_point_name": { | ||||||
|  |                 "question": "What is the name of this assembly point?", | ||||||
|  |                 "render": "This assembly point is named <b>{name}</b>" | ||||||
|  |             }, | ||||||
|  |             "assembly_point_operator": { | ||||||
|  |                 "question": "What organization operates this assembly point?", | ||||||
|  |                 "render": "This assembly point is operated by <b>{operator}</b>" | ||||||
|  |             }, | ||||||
|             "disaster_type": { |             "disaster_type": { | ||||||
|                 "mappings": { |                 "mappings": { | ||||||
|                     "0": { |                     "0": { | ||||||
|  | @ -501,10 +515,6 @@ | ||||||
|                     } |                     } | ||||||
|                 }, |                 }, | ||||||
|                 "question": "For which disaster type is this assembly point meant?" |                 "question": "For which disaster type is this assembly point meant?" | ||||||
|             }, |  | ||||||
|             "operator": { |  | ||||||
|                 "question": "What organization operates this assembly point?", |  | ||||||
|                 "render": "This assembly point is operated by {operator}" |  | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         "title": "Emergency assembly points" |         "title": "Emergency assembly points" | ||||||
|  | @ -3753,6 +3763,21 @@ | ||||||
|         "description": "This layer visualizes directions", |         "description": "This layer visualizes directions", | ||||||
|         "name": "Direction visualization" |         "name": "Direction visualization" | ||||||
|     }, |     }, | ||||||
|  |     "disaster_response": { | ||||||
|  |         "description": "This layer contains organizations that have the main objective to help the civil population during and after natural or anthropogenic disasters by working in the affected area.", | ||||||
|  |         "presets": { | ||||||
|  |             "0": { | ||||||
|  |                 "title": "a disaster response organization" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|  |         "tagRenderings": { | ||||||
|  |             "disaster_response_name": { | ||||||
|  |                 "question": "What is the name of this organization?", | ||||||
|  |                 "render": "This organization is named <b>{name}</b>" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|  |         "title": "Disaster response organization" | ||||||
|  |     }, | ||||||
|     "doctors": { |     "doctors": { | ||||||
|         "description": "This layer shows doctor offices", |         "description": "This layer shows doctor offices", | ||||||
|         "name": "Doctors", |         "name": "Doctors", | ||||||
|  |  | ||||||
|  | @ -143,7 +143,21 @@ | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
|     "assembly_point": { |     "assembly_point": { | ||||||
|  |         "description": "Questo livello contiene punti di raccolta e aree di attesa in cui tutti i dipendenti, i passeggeri o una grande folla si riuniscono in caso di emergenza.", | ||||||
|  |         "presets": { | ||||||
|  |             "0": { | ||||||
|  |                 "title": "un punto di raccolta" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|         "tagRenderings": { |         "tagRenderings": { | ||||||
|  |             "assembly_point_name": { | ||||||
|  |                 "question": "Qual è il nome di questo punto di raccolta?", | ||||||
|  |                 "render": "Questo punto di raccolta si chiama <b>{name}</b>" | ||||||
|  |             }, | ||||||
|  |             "assembly_point_operator": { | ||||||
|  |                 "question": "Quale organizzazione gestisce questo punto di raccolta?", | ||||||
|  |                 "render": "Questo punto di raccolta è gestita da <b>{operator}</b>" | ||||||
|  |             }, | ||||||
|             "disaster_type": { |             "disaster_type": { | ||||||
|                 "mappings": { |                 "mappings": { | ||||||
|                     "0": { |                     "0": { | ||||||
|  | @ -159,14 +173,10 @@ | ||||||
|                         "then": "Frana" |                         "then": "Frana" | ||||||
|                     } |                     } | ||||||
|                 }, |                 }, | ||||||
|                 "question": "Per quali tipi di disastro è pensata questa area di attesa?" |                 "question": "Per quali tipi di disastro è pensato questo punto di raccolta?" | ||||||
|             }, |  | ||||||
|             "operator": { |  | ||||||
|                 "question": "Quale organizzazione gestisce questa area di attesa?", |  | ||||||
|                 "render": "Questa area di attesa è gestita da {operator}" |  | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         "title": "Aree di attesa per emergenze" |         "title": "Punti di raccolta per emergenze" | ||||||
|     }, |     }, | ||||||
|     "atm": { |     "atm": { | ||||||
|         "description": "Sportello Bancomat per prelevare denaro", |         "description": "Sportello Bancomat per prelevare denaro", | ||||||
|  | @ -1305,6 +1315,21 @@ | ||||||
|         "description": "Questo livello visualizza le direzioni", |         "description": "Questo livello visualizza le direzioni", | ||||||
|         "name": "Visualizzazione della direzione" |         "name": "Visualizzazione della direzione" | ||||||
|     }, |     }, | ||||||
|  |     "disaster_response": { | ||||||
|  |         "description": "Questo livello contiene organizzazioni che hanno come obiettivo principale quello di aiutare la popolazione civile durante e dopo disastri naturali o antropogenici, lavorando nell'area colpita.", | ||||||
|  |         "presets": { | ||||||
|  |             "0": { | ||||||
|  |                 "title": "un'organizzazione per la risposta ai disastri" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|  |         "tagRenderings": { | ||||||
|  |             "disaster_response_name": { | ||||||
|  |                 "question": "Qual è il nome di questa organizzazione?", | ||||||
|  |                 "render": "Questa organizzazione si chiama <b>{name}</b>" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|  |         "title": "Organizzazione per la risposta ai disastri" | ||||||
|  |     }, | ||||||
|     "drinking_water": { |     "drinking_water": { | ||||||
|         "name": "Acqua potabile", |         "name": "Acqua potabile", | ||||||
|         "presets": { |         "presets": { | ||||||
|  |  | ||||||
|  | @ -632,7 +632,7 @@ | ||||||
|         "title": "Cyclofix - a map for cyclists" |         "title": "Cyclofix - a map for cyclists" | ||||||
|     }, |     }, | ||||||
|     "disaster_response": { |     "disaster_response": { | ||||||
|         "description": "This theme contains elements meant for disaster risk reduction and response.", |         "description": "This map contains elements meant for disaster preparedness and response.", | ||||||
|         "title": "Disaster response" |         "title": "Disaster response" | ||||||
|     }, |     }, | ||||||
|     "drinking_water": { |     "drinking_water": { | ||||||
|  |  | ||||||
|  | @ -402,7 +402,7 @@ | ||||||
|         "title": "Cyclofix - una mappa libera per chi va in bici" |         "title": "Cyclofix - una mappa libera per chi va in bici" | ||||||
|     }, |     }, | ||||||
|     "disaster_response": { |     "disaster_response": { | ||||||
|         "description": "Questo tema contiene elementi pensati per la riduzione del rischio e per la risposta ai disastri.", |         "description": "Questa mappa contiene elementi pensati per la preparazione e risposta ai disastri.", | ||||||
|         "title": "Risposta ai disastri" |         "title": "Risposta ai disastri" | ||||||
|     }, |     }, | ||||||
|     "drinking_water": { |     "drinking_water": { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue