I want to Check the presence of one or more layers (which I already know the names) and in each of the layers verifies the existence of one or more attributes (already known) when reading the data source.
Thank for advance
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.
You can for example use a Tester for the known layer name based on fme_feature_type, followed by a NoFeaturesTester (from the FME Hub) to get a trigger if it doesn't exist.
You can for example use a Tester for the known layer name based on fme_feature_type, followed by a NoFeaturesTester (from the FME Hub) to get a trigger if it doesn't exist.
Thank you david. I've installed the "NoFeaturesTester", but I don't know how it work. It does not offer configuration options.
I have a DWG file from a designer. This file contains several layers.
My workbench must check that among these layers are the layers: tree_layer, building_layer, and root_layer.
Then it must also verify that tree_layer contains the attributes: name, type, size. And that the building_layer contains the attributes: name, type, surface. If one of the layers or attributes I have specified does not exist then my workbench writes the errors to another layer. I hope it's clearer now
I have a DWG file from a designer. This file contains several layers.
My workbench must check that among these layers are the layers: tree_layer, building_layer, and root_layer.
Then it must also verify that tree_layer contains the attributes: name, type, size. And that the building_layer contains the attributes: name, type, surface. If one of the layers or attributes I have specified does not exist then my workbench writes the errors to another layer. I hope it's clearer now
Can you show a screenshot of how you configured the Tester?
Yes indeed. That's why I'm looking for a transformer that will allow me to enter several layer names I'm looking for
Maybe the TestFilter can help you out. Make an output port for each of your required layers and re-direct each to their own NoFeaturesTester etc. There is no single transformer to do exactly what you need, you'll have to "program" the logic using the existing transformers.
Maybe the TestFilter can help you out. Make an output port for each of your required layers and re-direct each to their own NoFeaturesTester etc. There is no single transformer to do exactly what you need, you'll have to "program" the logic using the existing transformers.
Yes exactly, I have to put together several transform to do it. But since last week I don't come up with a very good solution