Skip to main content

I have a set of grouped features and want to identify the feature with the highest value in one of the columns, lets call it "MAX_attribute", for each group. I can find the highest value in each group by using the StatisticCalculator. But that only gives me the "MAX_attribute" for the group as an whole, I also need to identify and "tag" the actual feature that had the "MAX_attribute".

To give you an example: I have depth readings for a number of lakes, and now I want to find the deapest reading for each lake.

I also tried the Aggregator with the ListRangeExtractor but could not make it work as I wished.

Hi @aron, I think the features output from the Complete port of the StatisticsCalculater have you desired attributes.


If this is from your earlier scenario, you can create a list in the dissolver. Sorting this list in descending order will mean you can access the feature with the highest attribute


If this is from your earlier scenario, you can create a list in the dissolver. Sorting this list in descending order will mean you can access the feature with the highest attribute

Thanks! I got this to work for me!

 

 


Reply