Skip to main content
Question

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

  • June 20, 2017
  • 2 replies
  • 30 views

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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

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

Have a look at the Matcher and DuplicateFilter transformers.


jdh
Contributor
Forum|alt.badge.img+40
  • 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.