I want to create a workspace that checks input data for various criteria. For example: are there polygons smaller than a certain threshold. Ideally I would like an output in a textfile/PDF, that says "2 features have an area below X". I can calculate the area of the feautres and with a Test_Filter I can redirect the features not passing. What is the FME way to extract the count of those features and write it with a meaningful message to a report?
Solved
How can I create a simple report of features passing/failing various tests?
Best answer by nielsgerrits
Multiple ways to do this. My best practice:
- Output from tester / testfilter / rejected output port / etc.
- Aggregator (Mode = Attributes Only, Count Attribute = "number of features")
- AttributeCreator (AttributeName = "text_line_data", AttributeValue = "@Value(number of features) features have an area below X".)
- FeatureWriter (Text File)
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.
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.


