185 lines
No EOL
5.5 KiB
JSON
185 lines
No EOL
5.5 KiB
JSON
{
|
|
"id": "speelplekken_temp",
|
|
"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": "MapComplete",
|
|
"icon": "./assets/themes/speelplekken/logo.svg",
|
|
"hideFromOverview": true,
|
|
"lockLocation": true,
|
|
"version": "0",
|
|
"startLat": 51.17174,
|
|
"startLon": 4.449462,
|
|
"startZoom": 12,
|
|
"widenFactor": 0.05,
|
|
"socialImage": "",
|
|
"defaultBackgroundId": "CartoDB.Positron",
|
|
"layers": [
|
|
{
|
|
"builtin": "play_forest",
|
|
"override": {
|
|
"source": {
|
|
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJsonZoomLevel": 14,
|
|
"isOsmCache": true
|
|
},
|
|
"icon": "./assets/themes/speelplekken/speelbos.svg",
|
|
"minzoom": 12
|
|
},
|
|
"calculatedTags": [
|
|
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
|
]
|
|
},
|
|
{
|
|
"builtin": "playground",
|
|
"override": {
|
|
"icon": "./assets/themes/speelplekken/speeltuin.svg",
|
|
"minzoom": 14,
|
|
"source": {
|
|
"geoJsonLocal": "http://127.0.0.1:8080/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJsonZoomLevel": 14,
|
|
"isOsmCache": true
|
|
},
|
|
"calculatedTags": [
|
|
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "village_green",
|
|
"override": {
|
|
"icon": "./assets/themes/speelplekken/speelweide.svg",
|
|
"minzoom": 14,
|
|
"source": {
|
|
"geoJsonLocal": "http://127.0.0.1:8080/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJsonZoomLevel": 14,
|
|
"isOsmCache": true
|
|
},
|
|
"calculatedTags": [
|
|
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "grass_in_parks",
|
|
"override": {
|
|
"icon": "./assets/themes/speelplekken/speelweide.svg",
|
|
"minzoom": 14,
|
|
"source": {
|
|
"geoJsonLocal": "http://127.0.0.1:8080/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJsonZoomLevel": 14,
|
|
"isOsmCache": true
|
|
},
|
|
"calculatedTags": [
|
|
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "sport_pitch",
|
|
"override": {
|
|
"minzoom": 15,
|
|
"source": {
|
|
"geoJsonLocal": "http://127.0.0.1:8080/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJsonZoomLevel": 14,
|
|
"isOsmCache": true
|
|
},
|
|
"calculatedTags": [
|
|
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"builtin": "slow_roads",
|
|
"override": {
|
|
"+tagRenderings": [
|
|
{
|
|
"question": "Is dit een publiek toegankelijk pad?",
|
|
"mappings": [
|
|
{
|
|
"if": "access=private",
|
|
"then": "Dit is een privaat pad"
|
|
},
|
|
{
|
|
"if": "access=no",
|
|
"then": "Dit is een privaat pad",
|
|
"hideInAnswer": true
|
|
},
|
|
{
|
|
"if": "access=permissive",
|
|
"then": "Dit pad is duidelijk in private eigendom, maar er hangen geen verbodsborden dus mag men erover"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"calculatedTags": [
|
|
"_part_of_walking_routes=Array.from(new Set(feat.memberships().map(r => \"<a href='#relation/\"+r.relation.id+\"'>\" + r.relation.tags.name + \"</a>\"))).join(', ')",
|
|
"_is_shadowed=feat.overlapWith('shadow').length > 0 ? 'yes': ''"
|
|
],
|
|
"minzoom": 9,
|
|
"source": {
|
|
"geoJsonLocal": "http://127.0.0.1:8080/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
|
|
"geoJsonZoomLevel": 14,
|
|
"isOsmCache": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"builtin": [
|
|
"walking_routes"
|
|
],
|
|
"override": {
|
|
"source": {
|
|
"osmTags": {
|
|
"+and": [
|
|
"operator~[pP]rovincie Antwerpen"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"clustering": {
|
|
"maxZoom": 16,
|
|
"minNeededElements": 100
|
|
},
|
|
"overrideAll": {
|
|
"+tagRenderings": [
|
|
{
|
|
"render": "Maakt deel uit van {_part_of_walking_routes}",
|
|
"condition": "_part_of_walking_routes~*"
|
|
},
|
|
{
|
|
"render": "<a href='{video}' target='blank'>Een kinder-reportage vinden jullie hier<a/>",
|
|
"freeform": {
|
|
"key": "video",
|
|
"type": "url"
|
|
},
|
|
"question": "Wat is de link naar de video-reportage?"
|
|
}
|
|
],
|
|
"isShown": {
|
|
"render": "yes",
|
|
"mappings": [
|
|
{
|
|
"if": "_is_shadowed=yes",
|
|
"then": "no"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |