Skip to main content
Hello,

 

 

I am reading shpae files and I would like to preapare a single string og particular attribute from shape file for all feature.

 

e.g. If shape file atrributes are

 

ID COUNTY_NAME POP

 

---------------------------------

 

1  ABC 100

 

2  XXX   1000

 

3  DEF   101

 

4  XYZ     500

 

 

I would like to prepare a string of COUNTY_NAME attribute of all features like

 

string = "ABC,XXX,DEF,XYZ"

 

 

How can I achieve this.

 

 

John
Hi John,

 

 

I would use the Attregator transformer. Have a look at "Attribute to Concatenate" and "Separator Character" parameters of the transformer.

 

 

Takashi
correction for typo :-(

 

Aggregator
Thanks Takashi. That worked well.

Reply