Question

How to create a list of attribute values from many input files as plain text


Badge

I am reading many features in a database, putting them through a 'spatialfilter'. All features that don't intersect are to be sent to the 'emailer'. How can i group a single attribute from many features as plain text so i can add this list to the 'emailer' body?


2 replies

Userlevel 2
Badge +16

Have a look at the Matcher and DuplicateFilter transformers.

Badge +22

If you want to a concatenated list of all the different values of that particular attribute, you can use an aggregator and set that attribute in the attributes to concatinate parameter.

If there are duplicate values, you can follow that up with the ListDuplicateRemover transformer, or prior to the aggregator use a sampler (first 1 features) with a group by on that attribute.

Reply