Skip to main content
Question

Merge Attributes of Duplicate Features into one

  • February 16, 2016
  • 1 reply
  • 577 views

Hi all,

 

 

I'm fairly new to FME and having some difficulty with duplicate features, with one different attribute.

 

 

The case I'm dealing with is Estate Proprietors, where I need to show the owners of a property.

 

The table provided treats every Proprietor separately, despite them being applied to exactly the same property. I need to merge the Proprietor attribute of the different features (based on same ID) into the same feature.

 

 

Simplified Example:

 

 

Proprietor ID

 

Bob Jones 1234

 

Mary Jones 1234

 

Me Limited. 1235

 

John Smith 1236

 

Kate Smith 1236

 

 

The output I want to achieve is

 

 

Proprietor ID

 

Bob Jones, Mary Jones 1234

 

Me Limited. 1235

 

John Smith, Kate Smith 1236

 

 

 

I am able to concatenate attributes of a single feature, but am unsure how to merge these multiple features into one.

 

 

Can anyone provide assistance or suggestions as to how I would go about this?

 

 

Cheers,

 

Kieran

1 reply

takashi
Influencer
  • February 16, 2016

Hi, you can use the Aggregator transformer with this setting.

  • Group By: ID
  • Attributes to Concatenate: Proprietor
  • Separator Character: ,

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