Skip to main content

Hi All,

 

This seems like a straightforward issue, but I am struggling to come up with a solution for my workflow.

 

I have created a set of lines within a polygon shape, the set of lines have inherited a '_count' attribute from the parent polygon. Using StatisticsCalculator I have calculated the '_numeric_count', '_sum' and '_mean' for the Lines, grouping using the '_count' attribute.

 

However, when looking at the results I have a need to remove Lengths such as the one highlighted. If any Length in the group is >= 10, for example, how do I exclude the entire group of values? In this case the entire '1947' _count group would be removed and would not pass to the StatisticsCalculator.

 

 

 

Thanks in advance

 

Andrew

Hi @andrewmcg,

Using the Statistics Calculator, use group by as _count and calculate MAX of _length attribute and attach the values using feature merger back to flow (make sure to use unique numbering for easy attaching). Later using tester, stop the groups where MAX >=10


Hi @andrewmcg,

Using the Statistics Calculator, use group by as _count and calculate MAX of _length attribute and attach the values using feature merger back to flow (make sure to use unique numbering for easy attaching). Later using tester, stop the groups where MAX >=10

Thanks pratap! using the MAX value with the count grouping solved this, I was able to incorporate this in the workflow without using the feature merger. This seems obvious but I couldn't see that solution, thank you!


Reply