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)
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.