Skip to main content
Solved

Intersected polygons and select highest related candidates for each combination

  • July 23, 2019
  • 1 reply
  • 13 views

a_afiaax
Contributor
Forum|alt.badge.img+2

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

Best answer by caracadrian

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • 571 replies
  • Best Answer
  • July 23, 2019

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.