diff --git a/assets/layers/police_call_box/Edinburgh_City_police_box_001.jpg b/assets/layers/police_call_box/Edinburgh_City_police_box_001.jpg new file mode 100644 index 000000000..6f1934ffb Binary files /dev/null and b/assets/layers/police_call_box/Edinburgh_City_police_box_001.jpg differ diff --git a/assets/layers/police_call_box/Edinburgh_City_police_box_001.jpg.license b/assets/layers/police_call_box/Edinburgh_City_police_box_001.jpg.license new file mode 100644 index 000000000..b47585d56 --- /dev/null +++ b/assets/layers/police_call_box/Edinburgh_City_police_box_001.jpg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Brian McNeil +SPDX-License-Identifier: CC-BY 3.0 \ No newline at end of file diff --git a/assets/layers/police_call_box/Haiku_OS_–_Misc_TARDIS.svg b/assets/layers/police_call_box/Haiku_OS_–_Misc_TARDIS.svg new file mode 100644 index 000000000..54b862d5f --- /dev/null +++ b/assets/layers/police_call_box/Haiku_OS_–_Misc_TARDIS.svg @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/layers/police_call_box/Haiku_OS_–_Misc_TARDIS.svg.license b/assets/layers/police_call_box/Haiku_OS_–_Misc_TARDIS.svg.license new file mode 100644 index 000000000..0e6805220 --- /dev/null +++ b/assets/layers/police_call_box/Haiku_OS_–_Misc_TARDIS.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/assets/layers/police_call_box/license_info.json b/assets/layers/police_call_box/license_info.json new file mode 100644 index 000000000..c8af183bd --- /dev/null +++ b/assets/layers/police_call_box/license_info.json @@ -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": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Haiku_OS_%E2%80%93_Misc_TARDIS.svg" + ] + }, + { + "path": "Haiku_OS_–_Misc_TARDIS.svg", + "license": "MIT", + "authors": [ + "" + ], + "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" + ] + } +] \ No newline at end of file diff --git a/assets/layers/police_call_box/police_call_box.json b/assets/layers/police_call_box/police_call_box.json new file mode 100644 index 000000000..9320e410f --- /dev/null +++ b/assets/layers/police_call_box/police_call_box.json @@ -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 +} diff --git a/assets/themes/police_call_boxes/police_call_boxes.json b/assets/themes/police_call_boxes/police_call_boxes.json new file mode 100644 index 000000000..d8c127e88 --- /dev/null +++ b/assets/themes/police_call_boxes/police_call_boxes.json @@ -0,0 +1,7 @@ +{ + "id": "police_call_boxes", + "icon": "./assets/layers/police_call_box/Haiku_OS_–_Misc_TARDIS.svg", + "layers": [ + "police_call_box" + ] +}