Add playground_equipment layer

This commit is contained in:
Robin van der Linde 2024-02-15 21:21:36 +01:00
parent 7dc4106064
commit 7f6cde223f
Signed by: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
40 changed files with 557 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Damian stawowy
SPDX-License-Identifier: CC-BY-SA 4.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Pavtron (talk)
SPDX-License-Identifier: Public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: M.Minderhoud
SPDX-License-Identifier: Public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Peter Wanders
SPDX-License-Identifier: Public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 MiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Reda Kerbouche
SPDX-License-Identifier: CC-BY-SA 4.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Jleedev
SPDX-License-Identifier: CC-BY-SA 4.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Mktravel
SPDX-License-Identifier: Public Domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Roger Kidd <span class="mw-valign-text-top" typeof="mw:File/Frameless"><img alt="Edit this at Structured Data on Commons" src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20"></span>
SPDX-License-Identifier: CC-BY-SA 2.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 MiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Kritzolina
SPDX-License-Identifier: CC-BY-SA 4.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Saku
SPDX-License-Identifier: CC-BY-SA 3.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: self
SPDX-License-Identifier: Public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Itsmine
SPDX-License-Identifier: Public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 MiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Jose1711
SPDX-License-Identifier: CC0 1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Mc on avon
SPDX-License-Identifier: Public domain

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

View file

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

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Phil Champion
SPDX-License-Identifier: CC-BY-SA 2.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Glogger
SPDX-License-Identifier: CC-BY-SA 3.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Waerth at the Dutch Wikipedia
SPDX-License-Identifier: CC-BY-SA 3.0

View file

@ -0,0 +1,182 @@
[
{
"path": "DeimosXL1.jpg",
"license": "CC-BY-SA 4.0",
"authors": [
"Damian stawowy"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:DeimosXL1.jpg"
]
},
{
"path": "Funnel_ball.jpg",
"license": "Public domain",
"authors": [
"Pavtron (talk)"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Funnel_ball.jpg"
]
},
{
"path": "Hinkelbaan_tegels.jpg",
"license": "Public domain",
"authors": [
"M.Minderhoud"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Hinkelbaan_tegels.jpg"
]
},
{
"path": "Hupfkissen.jpg",
"license": "Public domain",
"authors": [
"Peter Wanders"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:H%C3%BCpfkissen.jpg"
]
},
{
"path": "Manually_powered_carousel_on_a_playground_in_Saint-Petersburg.JPG",
"license": "CC-BY-SA 4.0",
"authors": [
"Reda Kerbouche"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Manually_powered_carousel_on_a_playground_in_Saint-Petersburg.JPG"
]
},
{
"path": "Playground_Map,_Washington_Elementary.jpg",
"license": "CC-BY-SA 4.0",
"authors": [
"Jleedev"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Playground_Map,_Washington_Elementary.jpg"
]
},
{
"path": "Playground_climbingwall.jpg",
"license": "Public Domain",
"authors": [
"Mktravel"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Playground_climbingwall.jpg"
]
},
{
"path": "Playground_in_Muchall_Park,_Wolverhampton_-_geograph.org.uk_-_2735437.jpg",
"license": "CC-BY-SA 2.0",
"authors": [
"Roger Kidd <span class=\"mw-valign-text-top\" typeof=\"mw:File/Frameless\"><img alt=\"Edit this at Structured Data on Commons\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png\" decoding=\"async\" width=\"10\" height=\"10\" class=\"mw-file-element\" srcset=\"https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x\" data-file-width=\"20\" data-file-height=\"20\"></span>"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Playground_in_Muchall_Park,_Wolverhampton_-_geograph.org.uk_-_2735437.jpg"
]
},
{
"path": "Playground_swing_03.jpg",
"license": "CC-BY-SA 4.0",
"authors": [
"Kritzolina"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Playground_swing_03.jpg"
]
},
{
"path": "Playhouse.jpg",
"license": "CC-BY-SA 3.0",
"authors": [
"Saku"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Playhouse.jpg"
]
},
{
"path": "Rekstok.JPG",
"license": "Public domain",
"authors": [
"self"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Rekstok.JPG"
]
},
{
"path": "Seesaw-aa.jpg",
"license": "Public domain",
"authors": [
"Itsmine"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Seesaw-aa.jpg"
]
},
{
"path": "Spinning_circle.jpg",
"license": "CC0 1.0",
"authors": [
"Jose1711"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Spinning_circle.jpg"
]
},
{
"path": "SunwardCohousingPlayStructure2005.jpg",
"license": "Public domain",
"authors": [
"Mc on avon"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:SunwardCohousingPlayStructure2005.jpg"
]
},
{
"path": "Szwedy_-_plac_zabaw_-_kotko_i_krzyzyk.jpg",
"license": "CC-BY 3.0",
"authors": [
"Pece"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Szwedy_-_plac_zabaw_-_k%C3%B3%C5%82ko_i_krzy%C5%BCyk.jpg"
]
},
{
"path": "Teen_shelter_near_former_coastguard_lookout,_Watchet_-_geograph.org.uk_-_1714960.jpg",
"license": "CC-BY-SA 2.0",
"authors": [
"Phil Champion"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Teen_shelter_near_former_coastguard_lookout,_Watchet_-_geograph.org.uk_-_1714960.jpg"
]
},
{
"path": "Urbeach-high-park-splashpad.jpg",
"license": "CC-BY-SA 3.0",
"authors": [
"Glogger"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Urbeach-high-park-splashpad.jpg"
]
},
{
"path": "Zandbakw.jpg",
"license": "CC-BY-SA 3.0",
"authors": [
"Waerth at the Dutch Wikipedia"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Zandbakw.jpg"
]
}
]

View file

@ -0,0 +1,337 @@
{
"minzoom": 18,
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "./assets/themes/playgrounds/playground.svg"
}
],
"iconSize": "20,20"
}
],
"tagRenderings": [
"images",
{
"render": {
"en": "This is a {playground}"
},
"id": "type",
"freeform": {
"key": "playground",
"placeholder": {
"en": "Type of device"
},
"addExtraTags": [
"fixme=Freeform input used"
]
},
"question": {
"en": "What kind of device is this?",
"nl": "Wat voor speeltoestel is dit?"
},
"invalidValues": "playground=yes",
"mappings": [
{
"if": "playground=swing",
"then": {
"en": "This is a swing",
"nl": "Dit is een schommel"
}
},
{
"if": "playground=structure",
"then": {
"en": "This is a structure consisting of several connected playground devices"
},
"icon": {
"path": "./assets/layers/playground_equipment/SunwardCohousingPlayStructure2005.jpg",
"class": "large"
}
},
{
"if": "playground=slide",
"then": {
"en": "This is a slide"
}
},
{
"if": "playground=sandpit",
"then": {
"en": "This is a sand pit",
"nl": "Dit is een zandbak"
},
"searchTerms": {
"en": [
"sandbox"
]
},
"icon": {
"path": "./assets/layers/playground_equipment/Zandbakw.jpg",
"class": "large"
}
},
{
"if": "playground=springy",
"then": {
"en": "This is a spring rider",
"nl": "Dit is een veertoestel"
},
"searchTerms": {
"en": [
"springy"
],
"nl": [
"wipkip"
]
}
},
{
"if": "playground=climbingframe",
"then": {
"en": "This is a climbing frame",
"nl": "Dit is een klimrek"
},
"searchTerms": {
"en": [
"jungle gym",
"rope spider"
]
},
"icon": {
"path": "./assets/layers/playground_equipment/DeimosXL1.jpg",
"class": "large"
}
},
{
"if": "playground=seesaw",
"then": {
"en": "This is a seesaw",
"nl": "Dit is een wipwap"
},
"searchTerms": {
"en": [
"teeter-totter",
"teeterboard"
]
},
"icon": {
"path": "./assets/layers/playground_equipment/Seesaw-aa.jpg",
"class": "large"
}
},
{
"if": "playground=playhouse",
"then": {
"en": "This is a playhouse"
},
"searchTerms": {
"en": [
"Wendyhouse"
]
},
"icon": {
"path": "./assets/layers/playground_equipment/Playhouse.jpg",
"class": "large"
}
},
{
"if": "playground=roundabout",
"then": {
"en": "This is a roundabout"
},
"searchTerms": {
"en": [
"merry-go-round"
]
},
"icon": {
"path": "./assets/layers/playground_equipment/Manually_powered_carousel_on_a_playground_in_Saint-Petersburg.JPG",
"class": "large"
}
},
{
"if": "playground=basketswing",
"then": {
"en": "This is a basket swing"
},
"icon": {
"path": "./assets/layers/playground_equipment/Playground_swing_03.jpg",
"class": "large"
}
},
{
"if": "playground=zipwire",
"then": {
"en": "This is a zip wire"
}
},
{
"if": "playground=horizontal_bar",
"then": {
"en": "This is a horizontal bar",
"nl": "Dit is een rekstok"
},
"icon": {
"path": "./assets/layers/playground_equipment/Rekstok.JPG",
"class": "large"
}
},
{
"if": "playground=hopscotch",
"then": {
"en": "This is a hopscotch"
},
"icon": {
"path": "./assets/layers/playground_equipment/Hinkelbaan_tegels.jpg",
"class": "large"
}
},
{
"if": "playground=splash_pad",
"then": {
"en": "This is a splash pad"
},
"searchTerms": {
"en": "spray pool"
},
"icon": {
"path": "./assets/layers/playground_equipment/Urbeach-high-park-splashpad.jpg",
"class": "large"
}
},
{
"if": "playground=climbingwall",
"then": {
"en": "This is a climbing wall"
},
"icon": {
"path": "./assets/layers/playground_equipment/Playground_climbingwall.jpg",
"class": "large"
}
},
{
"if": "playground=map",
"then": {
"en": "This is a map"
},
"icon": {
"path": "./assets/layers/playground_equipment/Playground_Map,_Washington_Elementary.jpg",
"class": "large"
}
},
{
"if": "playground=bridge",
"then": {
"en": "This is a bridge (either as a standalone device or as part of a larger structure)"
},
"icon": {
"path": "./assets/layers/playground_equipment/Playground_in_Muchall_Park,_Wolverhampton_-_geograph.org.uk_-_2735437.jpg",
"class": "large"
}
},
{
"if": "playground=cushion",
"then": {
"en": "This is a bouncy cushion"
},
"icon": {
"path": "./assets/layers/playground_equipment/Hupfkissen.jpg",
"class": "large"
}
},
{
"if": "playground=activitypanel",
"then": {
"en": "This is an activity panel"
},
"icon": {
"path": "./assets/layers/playground_equipment/Szwedy_-_plac_zabaw_-_kotko_i_krzyzyk.jpg",
"class": "large"
}
},
{
"if": "playground=teenshelter",
"then": {
"en": "This is a teen shelter"
},
"icon": {
"path": "./assets/layers/playground_equipment/Teen_shelter_near_former_coastguard_lookout,_Watchet_-_geograph.org.uk_-_1714960.jpg",
"class": "large"
}
},
{
"if": "playground=funnel_ball",
"then": {
"en": "This is a funnel used to play with funnel ball"
},
"icon": {
"path": "./assets/layers/playground_equipment/Funnel_ball.jpg",
"class": "large"
}
},
{
"if": "playground=spinning_circle",
"then": {
"en": "This is a spinning circle"
},
"icon": {
"path": "./assets/layers/playground_equipment/Spinning_circle.jpg",
"class": "large"
}
}
]
},
{
"builtin": "wheelchair-access",
"override": {
"question": {
"en": "Is this device accessible by wheelchair?"
}
}
}
],
"lineRendering": [
{
"width": 1,
"color": "blue"
}
],
"id": "playground_equipment",
"name": {
"en": "Playground equipment"
},
"description": {
"en": "Layer showing playground equipment"
},
"source": {
"osmTags": "playground~*"
},
"title": {
"render": {
"en": "Playground device"
}
},
"allowMove": true,
"presets": [
{
"tags": [
"playground=yes"
],
"title": {
"en": "a playground device"
},
"description": {
"en": "An exact type is asked later"
}
}
]
}

View file

@ -554,4 +554,4 @@
"filter": [
"open_now"
]
}
}

View file

@ -60,6 +60,7 @@
"startLon": 4.399,
"layers": [
"playground",
"playground_equipment",
{
"builtin": [
"bench",