Themes(police_call_box): add police call box theme

This commit is contained in:
Pieter Vander Vennet 2025-07-05 04:40:04 +02:00
parent db685dc05f
commit 449f674e0f
7 changed files with 680 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Brian McNeil
SPDX-License-Identifier: CC-BY 3.0

View file

@ -0,0 +1,144 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg version="1.1" width="64" height="64" color-interpolation="linearRGB"
xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg">
<g>
<linearGradient id="gradient0" gradientUnits="userSpaceOnUse" x1="50" y1="-64" x2="64" y2="-64">
<stop offset="0" stop-color="#010101" stop-opacity="0.5921"/>
<stop offset="1" stop-color="#010101" stop-opacity="0.0509"/>
</linearGradient>
<path style="fill:url(#gradient0)"
d="M34 60H54L64 56V40L54 36H49L34 60z"
/>
<path style="fill:none; stroke:#000000; stroke-width:4"
d="M14 15V48H13V52L34 62L49 48V44H48V12L31 5L14 15z"
/>
<linearGradient id="gradient1" gradientUnits="userSpaceOnUse" x1="35.95" y1="-22.3" x2="62.61" y2="-11.02">
<stop offset="0" stop-color="#0077ff"/>
<stop offset="1" stop-color="#0000ff"/>
</linearGradient>
<path style="fill:url(#gradient1)"
d="M14 47L13 49L34 60V57L14 47z"
/>
<linearGradient id="gradient2" gradientUnits="userSpaceOnUse" x1="-21.87" y1="19.46" x2="3.48" y2="-5.29">
<stop offset="0" stop-color="#00507f"/>
<stop offset="1" stop-color="#00337f"/>
</linearGradient>
<path style="fill:url(#gradient2)"
d="M13 49V51L34 62V60L13 49z
M14 15V48L34 58V23L14 15z"
/>
<linearGradient id="gradient3" gradientUnits="userSpaceOnUse" x1="35.95" y1="-22.3" x2="62.61" y2="-11.02">
<stop offset="0" stop-color="#0077ff"/>
<stop offset="1" stop-color="#0000ff"/>
</linearGradient>
<path style="fill:url(#gradient3)"
d="M14 15L34 24L48 12L31 5L14 15z"
/>
<linearGradient id="gradient4" gradientUnits="userSpaceOnUse" x1="51.01" y1="11.44" x2="67.94" y2="24.43">
<stop offset="0" stop-color="#080374"/>
<stop offset="1" stop-color="#02265b"/>
</linearGradient>
<path style="fill:url(#gradient4)"
d="M34 57V62L49 47V43L34 57z
M34 24V58L48 44V12L34 24z"
/>
<path style="fill:none; stroke:#000000; stroke-width:3"
d="M29 10V4L32 2L35 4V10C35 10 33 11 32 11C31 11 29 10 29 10z"
/>
<linearGradient id="gradient5" gradientUnits="userSpaceOnUse" x1="7.72" y1="42.9" x2="6.78" y2="16.92">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ffd800"/>
</linearGradient>
<path style="fill:url(#gradient5)"
d="M29 10V4L32 2L35 4V10C35 10 33 11 32 11C31 11 29 10 29 10z"
/>
<linearGradient id="gradient6" gradientUnits="userSpaceOnUse" x1="35.95" y1="-22.3" x2="62.61" y2="-11.02">
<stop offset="0" stop-color="#0077ff"/>
<stop offset="1" stop-color="#0000ff"/>
</linearGradient>
<path style="fill:url(#gradient6)"
d="M29 4L32 2L35 4C35 4 34 6 32 6C30 6 29 4 29 4z"
/>
<linearGradient id="gradient7" gradientUnits="userSpaceOnUse" x1="44.05" y1="-16.14" x2="59.07" y2="5.08">
<stop offset="0" stop-color="#fffc00" stop-opacity="0.5254"/>
<stop offset="1" stop-color="#ffd800" stop-opacity="0.6117"/>
</linearGradient>
<path style="fill:url(#gradient7)"
d="M37 5L56 1L57 4L37 5z
M38 8L62 9L63 12L38 8z
M37 11L60 16L59 20L37 11z
M27 7L5 3L3 6L27 7z
M27 9L0 10L2 13L27 9z
M24 12L1 18L4 20L24 12z"
/>
<linearGradient id="gradient8" gradientUnits="userSpaceOnUse" x1="7.72" y1="42.9" x2="6.78" y2="16.92">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ffd800"/>
</linearGradient>
<path style="fill:url(#gradient8)"
d="M17 22L18 23V25L17 24
M19 23L20 24V26L19 25
M21 24L22 25V27L21 26
M17 26L18 27V29L17 28
M19 27L20 28V30L19 29
M21 28L22 29V31L21 30"
/>
<linearGradient id="gradient9" gradientUnits="userSpaceOnUse" x1="7.72" y1="42.9" x2="6.78" y2="16.92">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ffd800"/>
</linearGradient>
<path style="fill:url(#gradient9)"
d="M17 22L18 23V25L17 24
M19 23L20 24V26L19 25
M21 24L22 25V27L21 26
M17 26L18 27V29L17 28
M19 27L20 28V30L19 29
M21 28L22 29V31L21 30"
transform="matrix(1,0,0,1,8,4)"
/>
<linearGradient id="gradient10" gradientUnits="userSpaceOnUse" x1="7.72" y1="42.9" x2="6.78" y2="16.92">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ffd800"/>
</linearGradient>
<path style="fill:url(#gradient10)"
d="M17 22L18 23V25L17 24
M19 23L20 24V26L19 25
M21 24L22 25V27L21 26
M17 26L18 27V29L17 28
M19 27L20 28V30L19 29
M21 28L22 29V31L21 30"
transform="matrix(-1,0,0,1,57,4)"
/>
<linearGradient id="gradient11" gradientUnits="userSpaceOnUse" x1="7.72" y1="42.9" x2="6.78" y2="16.92">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ffd800"/>
</linearGradient>
<path style="fill:url(#gradient11)"
d="M17 22L18 23V25L17 24
M19 23L20 24V26L19 25
M21 24L22 25V27L21 26
M17 26L18 27V29L17 28
M19 27L20 28V30L19 29
M21 28L22 29V31L21 30"
transform="matrix(-1,0,0,1,64,-1)"
/>
<linearGradient id="gradient12" gradientUnits="userSpaceOnUse" x1="7.72" y1="42.9" x2="6.78" y2="16.92">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ffd800"/>
</linearGradient>
<path style="fill:url(#gradient12)"
d="M17 31L22 33V39L17 37"
/>
<linearGradient id="gradient13" gradientUnits="userSpaceOnUse" x1="7.72" y1="42.9" x2="6.78" y2="16.92">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#ffd800"/>
</linearGradient>
<path style="fill:url(#gradient13)"
d="M24 39C25 40 24.7 41.7 24 41C23 40 23.29 38.29 24 39z"
/>
<path style="fill:none; stroke:#000000; stroke-width:1.5"
d="M22 37C22 37 21 35.62 21 35C21 34.37 22 33 22 33
M25 38C25 38 24 36.62 24 36C24 35.37 25 34 25 34"
/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: <ul><li>Haiku Inc. (source icons)</li>
<li>darealshinji (conversion and SVG code)</li></ul>
SPDX-License-Identifier: MIT

View file

@ -0,0 +1,392 @@
[
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Haiku_OS__Misc_TARDIS.svg",
"license": "MIT",
"authors": [
"<ul><li>Haiku Inc. (source icons)</li>\n<li>darealshinji (conversion and SVG code)</li></ul>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg"
]
},
{
"path": "Edinburgh_City_police_box_001.jpg",
"license": "CC-BY 3.0",
"authors": [
"Brian McNeil"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Edinburgh_City_police_box_001.jpg"
]
}
]

View file

@ -0,0 +1,132 @@
{
"credits": "osmuser63783",
"minzoom": 10,
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"anchor": "bottom",
"marker": [
{
"icon": "./assets/layers/police_call_box/Haiku_OS__Misc_TARDIS.svg",
"color": "#d00000"
}
]
}
],
"tagRenderings": [
"images",
{
"question": {
"en": "What is the style of this box?"
},
"id": "police_box_style",
"mappings": [
{
"if": "architect=Ebenezer MacRae",
"then": {
"en": "Edinburgh-style police box, Ebenezer MacRae"
},
"addExtraTags": [
"building=kiosk",
"building:material=iron",
"building:levels=1",
"height=2.6",
"roof:height=0.3",
"roof:shape=gabled",
"roof:levels=0"
]
},
{
"if": "architect=Gilbert Mackenzie Trench",
"then": {
"en": "TARDIS-style police box (Metropolitan Police, Glasgow), Gilbert Mackenzie Trench"
},
"addExtraTags": [
"building=kiosk",
"building:levels=1",
"roof:shape=pyramidal",
"roof:levels=0"
]
}
],
"freeform": {
"key": "architect"
},
"render": {
"en": "Another style of box, by {architect}."
}
},
{
"question": {
"en": "What is the colour of this box?"
},
"id": "building_colour",
"freeform": {
"key": "building:colour",
"type": "color"
},
"questionHint": {
"en": "Excluding the roof"
},
"render": {
"en": "The box is {building:colour}."
}
},
{
"question": {
"en": "What colour is its roof?"
},
"id": "roof_colour",
"freeform": {
"key": "roof:colour",
"type": "color"
},
"render": {
"en": "Its roof is {roof:colour}."
}
}
],
"lineRendering": [
{
"width": 1,
"color": "blue"
}
],
"id": "police_call_box",
"name": {
"en": "Police call boxes"
},
"description": {
"en": "A type of telephone kiosk historically used by the police."
},
"source": {
"osmTags": "historic=police_call_box"
},
"title": {
"render": {
"en": "A police call box."
}
},
"presets": [
{
"title": {
"en": "a police call box"
},
"tags": [
"historic=police_call_box",
"building=kiosk"
],
"exampleImages": [
"./assets/layers/police_call_box/Edinburgh_City_police_box_001.jpg"
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": false
},
"deletion": true
}

View file

@ -0,0 +1,7 @@
{
"id": "police_call_boxes",
"icon": "./assets/layers/police_call_box/Haiku_OS__Misc_TARDIS.svg",
"layers": [
"police_call_box"
]
}