diff --git a/assets/layers/wayside_shrine/license_info.json b/assets/layers/wayside_shrine/license_info.json index 336493a0b..ecb8555a5 100644 --- a/assets/layers/wayside_shrine/license_info.json +++ b/assets/layers/wayside_shrine/license_info.json @@ -9,6 +9,16 @@ "https://panoramax.mapcomplete.org" ] }, + { + "path": "mary.svg", + "license": "CC-BY-SA-4.0", + "authors": [ + "pietervdvn" + ], + "sources": [ + "https://chatgpt.com" + ] + }, { "path": "shrine.svg", "license": "CC0-1.0", diff --git a/assets/layers/wayside_shrine/mary.svg b/assets/layers/wayside_shrine/mary.svg new file mode 100644 index 000000000..7b86370ba --- /dev/null +++ b/assets/layers/wayside_shrine/mary.svg @@ -0,0 +1,43 @@ + + + + diff --git a/assets/layers/wayside_shrine/mary.svg.license b/assets/layers/wayside_shrine/mary.svg.license new file mode 100644 index 000000000..bd0efa586 --- /dev/null +++ b/assets/layers/wayside_shrine/mary.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: pietervdvn +SPDX-License-Identifier: CC-BY-SA-4.0 \ No newline at end of file diff --git a/assets/layers/wayside_shrine/wayside_shrine.json b/assets/layers/wayside_shrine/wayside_shrine.json index d8d7c5a68..deba03531 100644 --- a/assets/layers/wayside_shrine/wayside_shrine.json +++ b/assets/layers/wayside_shrine/wayside_shrine.json @@ -51,6 +51,10 @@ "if": "historic=wayside_cross", "then": "./assets/layers/wayside_shrine/wayside_cross.svg" }, + { + "if": "subject:wikidata=Q345", + "then": "./assets/layers/wayside_shrine/mary.svg" + }, { "if": "historic=wayside_shrine", "then": "./assets/layers/wayside_shrine/shrine.svg" @@ -132,6 +136,20 @@ "description": { "en": "A wayside cross is a christian cross that is placed by a road or pathway. This cross is mounted on a wall" } + }, + { + "title": { + "en": "a mother mary shrine on the first floor" + }, + "tags": [ + "historic=wayside_shrine", + "level=1", + "religion=christian", + "subject:wikidata=Q345" + ], + "snapToLayer": [ + "walls_and_buildings" + ] } ], "tagRenderings": [ @@ -480,6 +498,47 @@ ] } }, + { + "id": "subject:wikidata", + "condition": "religion=christian", + "question": { + "en": "Who is depicted?" + }, + "multiAnswer": true, + "mappings": [ + { + "if": "subject:wikidata=Q345", + "then": { + "en": "Mother mary is depicted" + } + }, + { + "if": "subject:wikidata=Q942467", + "then": { + "en": "Jesus Christ as a child is depicted" + } + }, + { + "if": "subject:wikidata=Q302", + "then": { + "en": "Jesus Christ (as an adult) is depicted" + } + }, + { + "if": "subject:wikidata=Q164294", + "then": { + "en": "Saint Anne (mother of Mary) is depicted" + } + } + ], + "render": { + "*": "{wikipedia(subject:wikidata)}" + }, + "freeform": { + "key": "subject:wikidata", + "type": "wikidata" + } + }, "level" ], "deletion": {