Question

Add features based on attribute value of existing features

  • 28 November 2017
  • 4 replies
  • 8 views

Badge

Hi there,

I have an existing spreadsheet and need to add in rows of information from a different spreadsheet based on the column value from the existing spreadsheet. I need to then write this to Excel again.

Any suggestions?

Thanks


4 replies

Userlevel 4

Sounds like you should have a look at the FeatureMerger transformer.

Badge

Sounds like you should have a look at the FeatureMerger transformer.

Thanks David, I don't actually need to merge the attributes, I just need to order and duplicate the features based on the attribute value from the existing spreadsheet

 

 

Userlevel 4

Could you post some sample data here as well as the expected result?

Badge
Thanks David, I don't actually need to merge the attributes, I just need to order and duplicate the features based on the attribute value from the existing spreadsheet

 

 

I'm going to try this suggestion of using the "Cloner" transformer based on a Tester: https://knowledge.safe.com/questions/5076/how-to-duplicate-features-based-on-an-attribute.html

Reply