mapcomplete/assets/themes/street_lighting/street_lighting_assen.json
2021-10-23 00:46:47 +02:00

50 lines
No EOL
1.3 KiB
JSON

{
"id": "street_lighting_assen",
"maintainer": "Robin van der Linde",
"version": "2021-10-22",
"language": [
"nl"
],
"title": {
"nl": "Straatverlichting Assen"
},
"description": {
"nl": "Straatverlichtingkaart met dataset Assen"
},
"icon": "./assets/layers/street_lamps/street_lamp.svg",
"startZoom": 19,
"startLat": 52.99319,
"startLon": 6.56113,
"layers": [
"street_lamps",
{
"id": "Assen",
"name": "Dataset Assen",
"source": {
"osmTags": "Lichtmastnummer~*",
"geoJson": "https://opendata.arcgis.com/datasets/ba37cdb372064b3199c548b75d16a609_0.geojson",
"isOsmCache": false
},
"calculatedTags": [
"_closest_osm_street_lamp=feat.closest('street_lamps')?.properties?.id",
"_closest_osm_street_lamp_distance=feat.distanceTo(feat.properties._closest_osm_street_lamp) * 1000",
"_has_closeby_feature=Number(feat.properties._closest_osm_street_lamp_distance) < 5 ? 'yes' : 'no'"
],
"title": "Straatlantaarn in dataset",
"icon": {
"render": "circle:red",
"mappings": [
{
"if": "_has_closeby_feature=yes",
"then": "circle:#008000aa"
}
]
},
"iconSize": "20,20,center",
"tagRenderings": [
"all_tags"
]
}
],
"hideFromOverview": true
}