I have a vector dataset containing buildings and a raster dataset containing elevation data.
I am looking for a way to find the mean and maximum value of the roof of each building.
So far I have converted the raster dataset to points, extracted the raster value to an attribute and clipped it with the building polygons. The StatisticsCalculator can help me finding the mean and max value in each building, but before doing that, I would like to remove the outliers.
So the question is: how can I remove the top and bottom 5% of the values in a list?