2021-10-23 00:46:47 +02:00
|
|
|
{
|
|
|
|
"id": "street_lighting_assen",
|
|
|
|
"title": {
|
2021-10-23 13:23:45 +02:00
|
|
|
"nl": "Straatverlichting - Assen"
|
2021-10-23 00:46:47 +02:00
|
|
|
},
|
|
|
|
"description": {
|
2021-10-23 13:23:45 +02:00
|
|
|
"nl": "Op deze kaart vind je alles over straatlantaarns + een dataset van Assen"
|
2021-10-23 00:46:47 +02:00
|
|
|
},
|
|
|
|
"icon": "./assets/layers/street_lamps/street_lamp.svg",
|
|
|
|
"startZoom": 19,
|
|
|
|
"startLat": 52.99319,
|
|
|
|
"startLon": 6.56113,
|
2023-10-30 18:03:18 +01:00
|
|
|
"credits": [
|
|
|
|
"Robin van der Linde"
|
|
|
|
],
|
|
|
|
"hideFromOverview": true,
|
2021-10-23 00:46:47 +02:00
|
|
|
"layers": [
|
|
|
|
"street_lamps",
|
|
|
|
{
|
2021-12-30 22:36:34 +01:00
|
|
|
"id": "assen",
|
2021-10-23 00:46:47 +02:00
|
|
|
"name": "Dataset Assen",
|
|
|
|
"source": {
|
|
|
|
"osmTags": "Lichtmastnummer~*",
|
2021-10-23 13:23:45 +02:00
|
|
|
"#geoJson": "https://opendata.arcgis.com/datasets/ba37cdb372064b3199c548b75d16a609_0.geojson",
|
|
|
|
"geoJson": "https://robinlinde.github.io/tiles/assen_street_lighting/{z}/{x}/{y}.json",
|
|
|
|
"geoJsonZoomLevel": 16,
|
2021-10-23 00:46:47 +02:00
|
|
|
"isOsmCache": false
|
|
|
|
},
|
|
|
|
"calculatedTags": [
|
2023-05-16 03:27:49 +02:00
|
|
|
"_closest_osm_street_lamp=closest(feat)('street_lamps')?.properties?.id",
|
|
|
|
"_closest_osm_street_lamp_distance=distanceTo(feat)(feat.properties._closest_osm_street_lamp)",
|
2021-10-23 00:46:47 +02:00
|
|
|
"_has_closeby_feature=Number(feat.properties._closest_osm_street_lamp_distance) < 5 ? 'yes' : 'no'"
|
|
|
|
],
|
|
|
|
"title": "Straatlantaarn 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-07-13 10:03:09 +02:00
|
|
|
},
|
|
|
|
{
|
2022-07-13 10:59:02 +02:00
|
|
|
"builtin": "maproulette_challenge",
|
|
|
|
"override": {
|
|
|
|
"calculatedTags": [
|
2023-05-16 03:27:49 +02:00
|
|
|
"_closest_osm_street_lamp=closest(feat)('street_lamps')?.properties?.id",
|
|
|
|
"_closest_osm_street_lamp_distance=distanceTo(feat)(feat.properties._closest_osm_street_lamp)",
|
2022-07-13 10:59:02 +02:00
|
|
|
"_has_closeby_feature=Number(feat.properties._closest_osm_street_lamp_distance) < 5 ? 'yes' : 'no'"
|
|
|
|
],
|
|
|
|
"tagRenderings+": [
|
|
|
|
{
|
|
|
|
"id": "import",
|
2023-05-30 03:22:21 +02:00
|
|
|
"render": "{import_button(street_lamps,tags,Import,./assets/svg/addSmall.svg,,,,mr_taskId)}"
|
2022-07-13 10:59:02 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-10-23 00:46:47 +02:00
|
|
|
}
|
2023-10-26 17:14:08 +02:00
|
|
|
]
|
2023-11-13 13:45:22 +01:00
|
|
|
}
|