2022-01-09 17:39:51 +01:00
|
|
|
{
|
|
|
|
"id": "waste_assen",
|
|
|
|
"title": {
|
|
|
|
"nl": "Afval - Assen"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"nl": "Kaart met afvalbakken en recyclingfaciliteiten + een dataset voor Assen."
|
|
|
|
},
|
|
|
|
"icon": "./assets/layers/recycling/recycling-14.svg",
|
|
|
|
"startZoom": 19,
|
|
|
|
"startLat": 53.24865,
|
|
|
|
"startLon": 6.60075,
|
2023-10-30 18:03:18 +01:00
|
|
|
"credits": [
|
|
|
|
"Robin van der Linde"
|
|
|
|
],
|
|
|
|
"hideFromOverview": true,
|
2022-01-09 17:39:51 +01:00
|
|
|
"layers": [
|
|
|
|
{
|
|
|
|
"builtin": "waste_basket",
|
|
|
|
"override": {
|
|
|
|
"minzoom": 12
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "waste_basket_assen",
|
|
|
|
"name": "Dataset Afvalbakken Assen",
|
2023-03-08 03:37:32 +01:00
|
|
|
"description": "Laag op basis van externe data",
|
2022-01-09 17:39:51 +01:00
|
|
|
"source": {
|
|
|
|
"osmTags": "OBJECTID~*",
|
|
|
|
"geoJson": "https://opendata.arcgis.com/datasets/5b6953ac5a9d4616a7dc75ab0beeac2f_0.geojson",
|
|
|
|
"isOsmCache": false
|
|
|
|
},
|
|
|
|
"calculatedTags": [
|
2023-05-16 03:27:49 +02:00
|
|
|
"_closest_osm_waste_basket=closest(feat)('waste_basket')?.properties?.id",
|
|
|
|
"_closest_osm_waste_basket_distance=distanceTo(feat)(feat.properties._closest_osm_waste_basket)",
|
2022-01-09 17:39:51 +01:00
|
|
|
"_has_closeby_feature=Number(feat.properties._closest_osm_waste_basket_distance) < 10 ? 'yes' : 'no'"
|
|
|
|
],
|
|
|
|
"title": "Afvalbak in dataset",
|
|
|
|
"tagRenderings": [
|
|
|
|
"all_tags"
|
2023-09-19 14:04:13 +02:00
|
|
|
],
|
2023-11-13 13:45:22 +01:00
|
|
|
"pointRendering": [
|
|
|
|
{
|
|
|
|
"location": [
|
|
|
|
"point",
|
|
|
|
"centroid"
|
|
|
|
],
|
|
|
|
"marker": [
|
|
|
|
{
|
|
|
|
"icon": {
|
|
|
|
"render": "circle:red",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "_has_closeby_feature=yes",
|
|
|
|
"then": "circle:#008000aa"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"iconSize": "20,20",
|
|
|
|
"anchor": "center"
|
|
|
|
}
|
|
|
|
],
|
2023-11-13 14:22:35 +01:00
|
|
|
"lineRendering": []
|
2022-01-09 17:39:51 +01:00
|
|
|
},
|
2022-01-21 02:47:23 +01:00
|
|
|
"recycling",
|
2022-01-09 17:39:51 +01:00
|
|
|
{
|
|
|
|
"id": "recycling_assen",
|
|
|
|
"name": "Dataset Recyclingcontainers Assen",
|
2023-03-08 03:37:32 +01:00
|
|
|
"description": "Laag op basis van externe data",
|
2022-01-09 17:39:51 +01:00
|
|
|
"source": {
|
|
|
|
"osmTags": "OBJECTID~*",
|
|
|
|
"geoJson": "https://opendata.arcgis.com/datasets/edb893998e27461b8ed82aad9854d27d_0.geojson",
|
|
|
|
"isOsmCache": false
|
|
|
|
},
|
|
|
|
"calculatedTags": [
|
2023-05-16 03:27:49 +02:00
|
|
|
"_closest_osm_recycling=closest(feat)('recycling')?.properties?.id",
|
|
|
|
"_closest_osm_waste_disposal=closest(feat)('waste_disposal')?.properties?.id",
|
|
|
|
"_closest_osm_recycling_distance=distanceTo(feat)(feat.properties._closest_osm_recycling)",
|
|
|
|
"_closest_osm_waste_disposal_distance=distanceTo(feat)(feat.properties._closest_osm_waste_disposal)",
|
2022-01-09 17:39:51 +01:00
|
|
|
"_has_closeby_recycling=Number(feat.properties._closest_osm_recycling_distance) < 10 ? 'yes' : 'no'",
|
|
|
|
"_has_closeby_waste_disposal=Number(feat.properties._closest_osm_waste_disposal_distance) < 10 ? 'yes' : 'no'"
|
|
|
|
],
|
|
|
|
"title": "Recyclingcontainer in dataset",
|
|
|
|
"tagRenderings": [
|
|
|
|
"all_tags"
|
2023-09-19 14:04:13 +02:00
|
|
|
],
|
2023-11-13 13:45:22 +01:00
|
|
|
"pointRendering": [
|
|
|
|
{
|
|
|
|
"location": [
|
|
|
|
"point",
|
|
|
|
"centroid"
|
|
|
|
],
|
|
|
|
"marker": [
|
|
|
|
{
|
|
|
|
"icon": {
|
|
|
|
"render": "circle:red",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "_has_closeby_recycling=yes",
|
|
|
|
"then": "circle:#008000aa"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "_has_closeby_waste_disposal=yes",
|
|
|
|
"then": "circle:#008000aa"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"iconSize": "20,20",
|
|
|
|
"anchor": "center"
|
|
|
|
}
|
|
|
|
],
|
2023-11-13 14:22:35 +01:00
|
|
|
"lineRendering": []
|
2022-01-09 17:39:51 +01:00
|
|
|
},
|
2022-01-21 02:47:23 +01:00
|
|
|
"waste_disposal"
|
2023-10-26 17:14:08 +02:00
|
|
|
]
|
2023-11-13 13:45:22 +01:00
|
|
|
}
|