My workspace has a published parameter `area` which can have the values `country` or `province`. It also contains a SpatialFilter transformer that only needs to be executed if `area = province`. How do I evaluate whether this condition is met only once for the entire dataset? Because I have hundreds of thousands of features, I don't want to evaluate the condition for each feature seperately. I would like to do conditional processing on the *dataset* level in stead of the feature level, so Tester and TestFilter are probably not the solutions I'm looking for.
Solved
Conditional processing based upon published parameter on dataset level (not for each feature seperately)
Best answer by redgeographics
If you use a Creator and TestFilter you can test the parameter just once and then use FeatureReaders to do the actual reading.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.