Standalone disaster_response layer

This commit is contained in:
Daniele Santini 2024-02-10 16:22:35 +01:00
parent 2a3e8a716c
commit 042b10a8b9
14 changed files with 168 additions and 125 deletions

View 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

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: https://commons.wikimedia.org/wiki/User:MStankie
SPDX-License-Identifier: LicenseRef-TRIVIAL

View 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>"
}
}
]
}

View 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"
]
}
]

View file

@ -6,7 +6,7 @@
"docs": "https://wiki.openstreetmap.org/wiki/Emergency_facilities_and_amenities",
"icon": "./assets/themes/disaster_response/CivilDefence.svg",
"id": "disaster_response",
"socialImage": "./assets/themes/disaster_response/social.jpg",
"socialImage": "./assets/themes/disaster_response/social.svg",
"title": {
"en": "Disaster response",
"it": "Risposta ai disastri"
@ -14,111 +14,6 @@
"layers": [
"hospital",
"assembly_point",
{
"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>"
}
}
]
}
"disaster_response"
]
}

View file

@ -10,13 +10,15 @@
]
},
{
"path": "social.jpg",
"license": "CC0-1.0",
"path": "social.svg",
"license": "TRIVIAL",
"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": [
"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

View file

@ -1,2 +0,0 @@
SPDX-FileCopyrightText: United States Agency for International Development
SPDX-License-Identifier: CC0-1.0

View 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

View 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