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