Skip to main content
Solved

How can i extract polygons from one feature class for each intersection it has with many different polygons from another feature class?

  • May 11, 2018
  • 2 replies
  • 52 views

Forum|alt.badge.img

I have been running spatialfilter transformers on polygons from a grid feature class (G) to see which of them intersect polygons from another feature class (A). I am extracting the polygons from G that intersect A and applying the attributes from intersecting A polygons to their corresponding G polygons. Unfortunately some polygons from A intersect other, different polygons from A and the problem is I need to extract the G polygons for each intersection that is found between A and G. Essentially I need to extract duplicate G polygons for each intersection with different polygons from A and apply attributes from A to their corresponding duplicate. I really hope I was clear enough for someone out there to understand my issue. Thank you for your help in advance.

Best answer by daveatsafe

Hi @krenty,

I think the SpatialRelator transformer can help you. It can create a list of the attributes of all the A polygons overlapping any G polygon, and add that list to the G polygons.

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.

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • Best Answer
  • May 11, 2018

Hi @krenty,

I think the SpatialRelator transformer can help you. It can create a list of the attributes of all the A polygons overlapping any G polygon, and add that list to the G polygons.


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • May 11, 2018

Hi @krenty,

I think the SpatialRelator transformer can help you. It can create a list of the attributes of all the A polygons overlapping any G polygon, and add that list to the G polygons.

Then next step is to 'explode' the list with a 'List Exploder' - be sure you are creating a list in the Spatial Relator