I need to cluster polygons that are close to each other. Like Point Stacker transformation does but for polygons. https://docs.geoserver.org/latest/en/user/styling/sld/extensions/rendering-transform.html
I need to see clusters with number of objects in it when map is zoomed out and separate polygons when zoom in.
I know that this can be done in Leaflet. To use WMS from GeoServer. But I want to know if clustering can be done on GeoServer itself.
Is there any way to do that?