[Geoserver-users] Style PointStacker clusters based on summary attributes

I’m trying to generate a map with clustered features, and I’d like to style the clusters based on the average of one of the attributes of one of the features. For example, each feature has a ‘contamination’ parameter and I want the cluster to show the average contamination of all the features it represents. I was using PointStacker, and when I looked at the documentation, it didn’t look like there was any way to specify additional values for PointStacker to return, so I’m guessing this isn’t possible. Is that correct, or is there another way to do what I want?

Also, I looked through the repo on GitHub, and it looks like PointStacker has been deprecated. If so, is there another feature we should be using?

Thanks in advance.

David Shepard
Lead Academic Developer
Center for Digital Humanities
UCLA