Cleanup of old themes, add playground-layer, add play forests, add speelplekken stub
This commit is contained in:
parent
1c2646ae19
commit
a50b9fba59
8 changed files with 344 additions and 168 deletions
62
assets/layers/play_forest/icon.svg
Normal file
62
assets/layers/play_forest/icon.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 21 KiB |
|
@ -3,7 +3,7 @@
|
||||||
"name": {
|
"name": {
|
||||||
"nl": "Speelbossen"
|
"nl": "Speelbossen"
|
||||||
},
|
},
|
||||||
"minzoom": 12,
|
"minzoom": 13,
|
||||||
"overpassTags": {
|
"overpassTags": {
|
||||||
"and": [
|
"and": [
|
||||||
"playground=forest"
|
"playground=forest"
|
||||||
|
@ -14,6 +14,12 @@
|
||||||
"nl": "Speelbos"
|
"nl": "Speelbos"
|
||||||
},
|
},
|
||||||
"mappings": [
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "name~Speelbos.*",
|
||||||
|
"then": {
|
||||||
|
"nl": "{name}"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"if": "name~*",
|
"if": "name~*",
|
||||||
"then": {
|
"then": {
|
||||||
|
@ -59,7 +65,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": "Naar waar kan men emailen indien er problemen zijn met de speelzone?",
|
"question": "Wie kan men emailen indien er problemen zijn met de speelzone?",
|
||||||
"render": "De bevoegde dienst kan bereikt worden via {email}",
|
"render": "De bevoegde dienst kan bereikt worden via {email}",
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "email",
|
"key": "email",
|
||||||
|
@ -67,7 +73,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"question": "Naar waar kan men bellen indien er problemen zijn met de speelzone?",
|
"question": "Wie kan men bellen indien er problemen zijn met de speelzone?",
|
||||||
"render": "De bevoegde dienst kan getelefoneerd worden via {phone}",
|
"render": "De bevoegde dienst kan getelefoneerd worden via {phone}",
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "phone",
|
"key": "phone",
|
||||||
|
@ -82,7 +88,7 @@
|
||||||
"hideUnderlayingFeaturesMinPercentage": 0,
|
"hideUnderlayingFeaturesMinPercentage": 0,
|
||||||
"hideFromOverview": false,
|
"hideFromOverview": false,
|
||||||
"icon": {
|
"icon": {
|
||||||
"render": "./assets/layers/play_forest/icon.jpg"
|
"render": "./assets/layers/play_forest/icon.svg"
|
||||||
},
|
},
|
||||||
"width": {
|
"width": {
|
||||||
"render": "8"
|
"render": "8"
|
||||||
|
@ -101,7 +107,7 @@
|
||||||
"playground=forest",
|
"playground=forest",
|
||||||
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
|
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
|
||||||
],
|
],
|
||||||
"description": "Een zone in het bos, duidelijk gemarkeerd als speelzone met de betreffende borden<br/><img src='./assets/layers/play_forest/icon.jpg'/>"
|
"description": "Een zone in het bos, duidelijk gemarkeerd als speelzone met de betreffende borden<br/><img src='./assets/layers/play_forest/icon.svg'/>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"wayHandling": 2
|
"wayHandling": 2
|
||||||
|
|
236
assets/layers/playground/playground.json
Normal file
236
assets/layers/playground/playground.json
Normal file
|
@ -0,0 +1,236 @@
|
||||||
|
{
|
||||||
|
"id": "playground",
|
||||||
|
"name": {
|
||||||
|
"nl": "Speeltuinen"
|
||||||
|
},
|
||||||
|
"minzoom": 13,
|
||||||
|
"overpassTags": "leisure=playground",
|
||||||
|
"description": {
|
||||||
|
"nl": "Speeltuinen en speelbossen"
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"render": {
|
||||||
|
"nl": "Speeltuin"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": {
|
||||||
|
"and": [
|
||||||
|
"playground=forest",
|
||||||
|
"name~*"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"then": {
|
||||||
|
"nl": "Speelbos <i>{name}</i>"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "playground=forest",
|
||||||
|
"then": {
|
||||||
|
"nl": "Speelbos"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "name~*",
|
||||||
|
"then": {
|
||||||
|
"nl": "Speeltuin <i>{name}</i>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"tagRenderings": [
|
||||||
|
"images",
|
||||||
|
{
|
||||||
|
"question": {
|
||||||
|
"nl": "Wat is de ondergrond van deze speeltuin?<br/><i>Indien er verschillende ondergronden zijn, neem de meest voorkomende</i>"
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"nl": "De ondergrond is <b>{surface}</b>"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "surface"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "surface=grass",
|
||||||
|
"then": "De ondergrond is <b>gras</b>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "surface=sand",
|
||||||
|
"then": "De ondergrond is <b>zan</b>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "surface=paving_stones",
|
||||||
|
"then": "De ondergrond bestaat uit <b>stoeptegels</b>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "surface=asphalt",
|
||||||
|
"then": "De ondergrond is <b>asfalt</b>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "surface=concrete",
|
||||||
|
"then": "De ondergrond is <b>beton</b>"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"render": {
|
||||||
|
"nl": "Is deze speeltuin 's nachts verlicht?"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "lit=yes",
|
||||||
|
"then": "Deze speeltuin is 's nachts verlicht"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "lit=no",
|
||||||
|
"then": "Deze speeltuin is 's nachts niet verlicht"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"render": {
|
||||||
|
"nl": "Toegankelijk vanaf {min_age} jaar oud"
|
||||||
|
},
|
||||||
|
"question": {
|
||||||
|
"nl": "Wat is de minimale leeftijd om op deze speeltuin te mogen?"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "min_age",
|
||||||
|
"type": "pnat"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"render": {
|
||||||
|
"nl": "Toegankelijk tot {max_age}"
|
||||||
|
},
|
||||||
|
"question": {
|
||||||
|
"nl": "Wat is de maximaal toegestane leeftijd voor deze speeltuin?"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "max_age",
|
||||||
|
"type": "pnat"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"question": "Wie beheert deze speeltuin?",
|
||||||
|
"render": "Beheer door {operator}",
|
||||||
|
"freeform": {
|
||||||
|
"key": "operator"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"question": "Is deze speeltuin vrij toegankelijk voor het publiek?",
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "access=",
|
||||||
|
"then": "Vrij toegankelijk voor het publiek",
|
||||||
|
"hideInAnswer": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "access=yes",
|
||||||
|
"then": "Vrij toegankelijk voor het publiek"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "access=customers",
|
||||||
|
"then": "Enkel toegankelijk voor klanten van de bijhorende zaak"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "access=students",
|
||||||
|
"then": "Vrij toegankelijk voor scholieren van de school"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "access=private",
|
||||||
|
"then": "Niet vrij toegankelijk"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"question": "Wie kan men emailen indien er problemen zijn met de speeltuin?",
|
||||||
|
"render": "De bevoegde dienst kan bereikt worden via {email}",
|
||||||
|
"freeform": {
|
||||||
|
"key": "email",
|
||||||
|
"type": "email"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"question": "Wie kan men bellen indien er problemen zijn met de speeltuin?",
|
||||||
|
"render": "De bevoegde dienst kan getelefoneerd worden via {phone}",
|
||||||
|
"freeform": {
|
||||||
|
"key": "phone",
|
||||||
|
"type": "phone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"question": {
|
||||||
|
"nl": "Is deze speeltuin toegankelijk voor rolstoelgebruikers?"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "wheelchair=yes",
|
||||||
|
"then": {
|
||||||
|
"nl": "Geheel toegankelijk voor rolstoelgebruikers"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "wheelchair=limited",
|
||||||
|
"then": {
|
||||||
|
"nl": "Beperkt toegankelijk voor rolstoelgebruikers"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "wheelchair=no",
|
||||||
|
"then": {
|
||||||
|
"nl": "Niet toegankelijk voor rolstoelgebruikers"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"freeform": {
|
||||||
|
"key": "opening_hours",
|
||||||
|
"type": "opening_hours"
|
||||||
|
},
|
||||||
|
"render": "{opening_hours_table(opening_hours)}",
|
||||||
|
"question": {
|
||||||
|
"nl": "Op welke uren is deze speeltuin toegankelijk?"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "opening_hours=sunrise-sunset",
|
||||||
|
"then": {
|
||||||
|
"nl": "Van zonsopgang tot zonsondergang"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"questions",
|
||||||
|
{
|
||||||
|
"render": "{reviews(name, playground)}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"hideUnderlayingFeaturesMinPercentage": 0,
|
||||||
|
"icon": {
|
||||||
|
"render": "https://upload.wikimedia.org/wikipedia/commons/0/00/Map_icons_by_Scott_de_Jonge_-_playground.svg"
|
||||||
|
},
|
||||||
|
"width": {
|
||||||
|
"render": "3"
|
||||||
|
},
|
||||||
|
"iconSize": {
|
||||||
|
"render": "40,40,center"
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"render": "#0c3"
|
||||||
|
},
|
||||||
|
"presets": [
|
||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"leisure=playground"
|
||||||
|
],
|
||||||
|
"title": {
|
||||||
|
"nl": "Speeltuin"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wayHandling": 2
|
||||||
|
}
|
|
@ -256,7 +256,9 @@
|
||||||
"de": "Teil des Netzwerks 'Little Free Library'",
|
"de": "Teil des Netzwerks 'Little Free Library'",
|
||||||
"fr": "Fait partie du réseau 'Little Free Library'"
|
"fr": "Fait partie du réseau 'Little Free Library'"
|
||||||
},
|
},
|
||||||
"if": "brand=Little Free Library"
|
"if":{
|
||||||
|
"and": ["brand=Little Free Library","nobrand="]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": {
|
"if": {
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
"if": {
|
"if": {
|
||||||
"and": [
|
"and": [
|
||||||
"cyclestreet=",
|
"cyclestreet=",
|
||||||
"proposed:cyclestreet=yes"
|
"proposed:cyclestreet=yes",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"nl"
|
"nl"
|
||||||
],
|
],
|
||||||
"maintainer": "",
|
"maintainer": "",
|
||||||
"icon": "./assets/layers/play_forest/icon.jpg",
|
"icon": "./assets/layers/play_forest/icon.svg",
|
||||||
"version": "0",
|
"version": "0",
|
||||||
"startLat": 0,
|
"startLat": 0,
|
||||||
"startLon": 0,
|
"startLon": 0,
|
||||||
|
|
|
@ -17,169 +17,11 @@
|
||||||
"version": "0",
|
"version": "0",
|
||||||
"startLat": 50.535,
|
"startLat": 50.535,
|
||||||
"startLon": 4.399,
|
"startLon": 4.399,
|
||||||
"startZoom": 10,
|
"startZoom": 13,
|
||||||
"widenFactor": 0.05,
|
"widenFactor": 0.05,
|
||||||
"socialImage": "",
|
"socialImage": "",
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
"playground"
|
||||||
"id": "playgrounds",
|
|
||||||
"name": {
|
|
||||||
"nl": "Speeltuinen"
|
|
||||||
},
|
|
||||||
"minzoom": 14,
|
|
||||||
"overpassTags": {
|
|
||||||
"and": [
|
|
||||||
"leisure=playground"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"nl": "Speeltuinen en speelbossen"
|
|
||||||
},
|
|
||||||
"title": {
|
|
||||||
"render": {
|
|
||||||
"nl": "Speeltuin"
|
|
||||||
},
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"if": {
|
|
||||||
"and": [
|
|
||||||
"playground=forest",
|
|
||||||
"name~*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"nl": "Speelbos <i>{name}</i>"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"if": "playground=forest",
|
|
||||||
"then": {
|
|
||||||
"nl": "Speelbos"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"if": "name~*",
|
|
||||||
"then": {
|
|
||||||
"nl": "Speeltuin <i>{name}</i>"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"tagRenderings": [
|
|
||||||
"images",
|
|
||||||
{
|
|
||||||
"question": {
|
|
||||||
"nl": "Is deze speeltuin toegankelijk voor rolstoelgebruikers?"
|
|
||||||
},
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"if": {
|
|
||||||
"and": [
|
|
||||||
"wheelchair=yes"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"nl": "Geheel toegankelijk voor rolstoelgebruikers"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"if": {
|
|
||||||
"and": [
|
|
||||||
"wheelchair=limited"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"nl": "Beperkt toegankelijk voor rolstoelgebruikers"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"if": {
|
|
||||||
"and": [
|
|
||||||
"wheelchair=no"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"nl": "Niet toegankelijk voor rolstoelgebruikers"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"freeform": {
|
|
||||||
"key": "opening_hours",
|
|
||||||
"type": "opening_hours"
|
|
||||||
},
|
|
||||||
"render": "{opening_hours_table(opening_hours)}",
|
|
||||||
"question": {
|
|
||||||
"nl": "Op welke uren is deze speeltuin toegankelijk?"
|
|
||||||
},
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"if": {
|
|
||||||
"and": [
|
|
||||||
"opening_hours=sunrise-sunset"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"nl": "Van zonsopgang tot zonsondergang"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"render": {
|
|
||||||
"nl": "Toegankelijk vanaf {min_age} jaar oud"
|
|
||||||
},
|
|
||||||
"question": {
|
|
||||||
"nl": "Wat is de minimale leeftijd om op deze speeltuin te mogen?"
|
|
||||||
},
|
|
||||||
"freeform": {
|
|
||||||
"key": "min_age",
|
|
||||||
"type": "pnat"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"render": {
|
|
||||||
"nl": "Toegankelijk tot {max_age}"
|
|
||||||
},
|
|
||||||
"question": {
|
|
||||||
"nl": "Wat is de maximaal toegestane leeftijd voor deze speeltuin?"
|
|
||||||
},
|
|
||||||
"freeform": {
|
|
||||||
"key": "max_age",
|
|
||||||
"type": "pnat"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"questions",
|
|
||||||
{
|
|
||||||
"render": "{reviews(leisure=playground)}"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"hideUnderlayingFeaturesMinPercentage": 0,
|
|
||||||
"icon": {
|
|
||||||
"render": "https://upload.wikimedia.org/wikipedia/commons/0/00/Map_icons_by_Scott_de_Jonge_-_playground.svg"
|
|
||||||
},
|
|
||||||
"width": {
|
|
||||||
"render": "3"
|
|
||||||
},
|
|
||||||
"iconSize": {
|
|
||||||
"render": "40,40,center"
|
|
||||||
},
|
|
||||||
"color": {
|
|
||||||
"render": "#0c3"
|
|
||||||
},
|
|
||||||
"presets": [
|
|
||||||
{
|
|
||||||
"tags": [
|
|
||||||
"leisure=playground"
|
|
||||||
],
|
|
||||||
"title": {
|
|
||||||
"nl": "Speeltuin"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"wayHandling": 2
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"roamingRenderings": []
|
"roamingRenderings": []
|
||||||
}
|
}
|
28
assets/themes/speelplekken/speelplekken.json
Normal file
28
assets/themes/speelplekken/speelplekken.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"id": "speelplekken",
|
||||||
|
"title": {
|
||||||
|
"nl": "Speelplekken in de Antwerpse Zuidrand"
|
||||||
|
},
|
||||||
|
"shortDescription": {
|
||||||
|
"nl": "Speelplekken in de Antwerpse Zuidrand"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"nl": "Speelplekken in de Antwerpse Zuidrand. Een project van Provincie Antwerpen, in samenwerking met Createlli, Sportpret en OpenStreetMap België"
|
||||||
|
},
|
||||||
|
"language": [
|
||||||
|
"nl"
|
||||||
|
],
|
||||||
|
"maintainer": "",
|
||||||
|
"icon": "./assets/layers/play_forest/icon.svg",
|
||||||
|
"version": "0",
|
||||||
|
"startLat": 51.16174,
|
||||||
|
"startLon": 4.449462,
|
||||||
|
"startZoom": 13,
|
||||||
|
"widenFactor": 0.05,
|
||||||
|
"socialImage": "",
|
||||||
|
"layers": [
|
||||||
|
"play_forest",
|
||||||
|
"playground"
|
||||||
|
],
|
||||||
|
"roamingRenderings": []
|
||||||
|
}
|
Loading…
Reference in a new issue