Solved

Intersected polygons and select highest related candidates for each combination

  • 23 July 2019
  • 1 reply
  • 0 views

Badge +1

Within more than 2500 Features in one Polygon shapefile I used a SpatialRelator Transformer to find out intersected polygons followed by ListExplode Transformer. The result as following example:

 

 

My target is to select intersected features of highest related_candidates number (3 for above example). In some cases the highest related_candidates is 4 or more.

Does anyone have any ideas or potential solutions?

@mark2atsafe @egomm @david_r @jlutherthomas @jdh @takashi @redgeographics @danilo_fme

icon

Best answer by caracadrian 23 July 2019, 14:08

View original

1 reply

Badge +20

You can use StatisticsCalculator with GroupBy set to FeatureID to get a maximum of the attribute you want followed by a TestFilter set to _related_candidates = _max_related_candidates.

Reply