diff --git a/assets/layers/questions/questions.json b/assets/layers/questions/questions.json index e28c0cfe2f..4c5f2e3a0e 100644 --- a/assets/layers/questions/questions.json +++ b/assets/layers/questions/questions.json @@ -3563,6 +3563,18 @@ } } ] + }, + { + "id": "ref", + "question": { + "en": "What is the reference number?" + }, + "render": { + "en": "The reference number is {ref}" + }, + "freeform": { + "key": "ref" + } } ], "allowMove": false, diff --git a/assets/layers/windpump/license_info.json b/assets/layers/windpump/license_info.json new file mode 100644 index 0000000000..038eb72106 --- /dev/null +++ b/assets/layers/windpump/license_info.json @@ -0,0 +1,40 @@ +[ + { + "path": "tjasker.jpg", + "license": "CC-BY-SA 3.0 Unported", + "authors": [ + "TUFOWKTM" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Tjasker_Sanpoel_04.JPG" + ] + }, + { + "path": "windpump.svg", + "license": "CC0-1.0", + "authors": [ + "quincylvania" + ], + "sources": [ + "https://github.com/rapideditor/temaki/blob/main/icons/windpump.svg" + ] + }, + { + "path": "windpump_1.jpg", + "license": "CC-BY-SA 4.0", + "authors": [ + "Ben Franske" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Windpump.jpg" + ] + }, + { + "path": "windpump_2.jpg", + "license": "CC0-1.0", + "authors": [ + "Pieter Vander Vennet" + ], + "sources": [] + } +] \ No newline at end of file diff --git a/assets/layers/windpump/tjasker.jpg b/assets/layers/windpump/tjasker.jpg new file mode 100644 index 0000000000..0f8453d32e Binary files /dev/null and b/assets/layers/windpump/tjasker.jpg differ diff --git a/assets/layers/windpump/tjasker.jpg.license b/assets/layers/windpump/tjasker.jpg.license new file mode 100644 index 0000000000..07cec83508 --- /dev/null +++ b/assets/layers/windpump/tjasker.jpg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: TUFOWKTM +SPDX-License-Identifier: CC-BY-SA 3.0 Unported \ No newline at end of file diff --git a/assets/layers/windpump/windpump.json b/assets/layers/windpump/windpump.json new file mode 100644 index 0000000000..21358614d0 --- /dev/null +++ b/assets/layers/windpump/windpump.json @@ -0,0 +1,76 @@ +{ + "id": "windpump", + "presets": [ + { + "tags": [ + "man_made=windpump" + ], + "title": "a windpump", + "description": { + "en": "A wind pump is a kind of windmill that is used for pumping natural gas or water." + }, + "exampleImages": [ + "./assets/layers/windpump/windpump_1.jpg", + "./assets/layers/windpump/windpump_2.jpg", + "./assets/layers/windpump/tjasker.jpg" + + ] + } + ], + "name": { + "en": "Windpumps", + "nl": "Pompen op windenergie" + }, + "title": { + "mappings": [ + { + "if": "name~*", + "then": { + "en": "Windpump {ref}" + } + } + ], + "render": { + "en": "Windpump {ref}" + } + }, + "tagRenderings": [ + "images", + { + "id": "operator", + "question": { + "en": "Who operates this windpump?" + }, + "render": { + "en": "Operated by {operator}" + }, + "freeform": { + "key": "operator" + } + }, + "ref", + "wikipedia" + ], + "pointRendering": [ + { + "location": [ + "point", + "centroid" + ], + "anchor": "bottom", + "marker": [ + { + "icon": "circle", + "color": "white" + }, + { + "icon": "./assets/layers/windpump/windpump.svg" + } + ] + } + ], + "allowMove": { + "enableImproveAccuracy": true, + "enableRelocation": false + } +} diff --git a/assets/layers/windpump/windpump.svg b/assets/layers/windpump/windpump.svg new file mode 100644 index 0000000000..6823907afa --- /dev/null +++ b/assets/layers/windpump/windpump.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/assets/layers/windpump/windpump.svg.license b/assets/layers/windpump/windpump.svg.license new file mode 100644 index 0000000000..2fae30bcfd --- /dev/null +++ b/assets/layers/windpump/windpump.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: quincylvania +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/layers/windpump/windpump_1.jpg b/assets/layers/windpump/windpump_1.jpg new file mode 100644 index 0000000000..415db74fd5 Binary files /dev/null and b/assets/layers/windpump/windpump_1.jpg differ diff --git a/assets/layers/windpump/windpump_1.jpg.license b/assets/layers/windpump/windpump_1.jpg.license new file mode 100644 index 0000000000..09d8b0a57b --- /dev/null +++ b/assets/layers/windpump/windpump_1.jpg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Ben Franske +SPDX-License-Identifier: CC-BY-SA 4.0 \ No newline at end of file diff --git a/assets/layers/windpump/windpump_2.jpg b/assets/layers/windpump/windpump_2.jpg new file mode 100644 index 0000000000..fafdf57b2a Binary files /dev/null and b/assets/layers/windpump/windpump_2.jpg differ diff --git a/assets/layers/windpump/windpump_2.jpg.license b/assets/layers/windpump/windpump_2.jpg.license new file mode 100644 index 0000000000..ed02883002 --- /dev/null +++ b/assets/layers/windpump/windpump_2.jpg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Pieter Vander Vennet +SPDX-License-Identifier: CC0-1.0 \ No newline at end of file diff --git a/assets/themes/openwindpowermap/openwindpowermap.json b/assets/themes/openwindpowermap/openwindpowermap.json index f26c055f72..bfdf7530be 100644 --- a/assets/themes/openwindpowermap/openwindpowermap.json +++ b/assets/themes/openwindpowermap/openwindpowermap.json @@ -45,6 +45,14 @@ "Seppe Santens" ], "layers": [ - "windturbine" + { + "builtin": [ + "windturbine", + "windpump" + ], + "override": { + "minzoom": 10 + } + } ] -} \ No newline at end of file +}