Skip to main content
Solved

Merge attributes from overlapping features that are in the same dataset


Hey all, as per the title, I seem to be struggling with this simple task!

 

I have a spatial dataset that contains dozens of features, each with a 'Name' attribute field. In many cases, these features overlap, and I want to concatenate the overlapping 'Name' field values into a new single attribute field called, say, 'Names_Combined'.

 

I've tried string concatenator and area on area overlay to no avail, is there a different transformer that would do the trick?

 

Cheers all!

 

Marty

Best answer by virtualcitymatt

You can use a SpatialRelator to check for overlaps. Just put the polygons into the suppliers and requesters. In the SpatialRelator be sure that you are merging attributes and that you have turned on the List option. The list is where all the attributes from the overlaps will get stored.

In the output you should have polygons with lists, now you can use a ListConcatenator to create the Combined attribute you're after.

Attached is an example.

 

View original
Did this help you find an answer to your question?

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

You can use a SpatialRelator to check for overlaps. Just put the polygons into the suppliers and requesters. In the SpatialRelator be sure that you are merging attributes and that you have turned on the List option. The list is where all the attributes from the overlaps will get stored.

In the output you should have polygons with lists, now you can use a ListConcatenator to create the Combined attribute you're after.

Attached is an example.

 


  • Author
  • April 6, 2021
virtualcitymatt wrote:

You can use a SpatialRelator to check for overlaps. Just put the polygons into the suppliers and requesters. In the SpatialRelator be sure that you are merging attributes and that you have turned on the List option. The list is where all the attributes from the overlaps will get stored.

In the output you should have polygons with lists, now you can use a ListConcatenator to create the Combined attribute you're after.

Attached is an example.

 

Hey Matt, thanks for that, that worked perfectly!

 

Cheers,

 

Marty


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings