Skip to main content
Question

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


Forum|alt.badge.img

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

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • June 20, 2017

Have a look at the Matcher and DuplicateFilter transformers.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • June 20, 2017

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.


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