I want my workbench to automatically create a value in an attribute table depending on the type of polygon it is. For example, if the value in autocad_layer is KVARTERSM_CENTRUM, I want it to automatically classify the attribute as "KC".
I have multiple attributes I want to automatically classify. The problem is that when I'm searching for transformers and choosing a layer, only "autocad_layer" is available.
Reader must be based on single merged feature type.
I attach an image with my workbench. The first choice I made is that I chose the reader dwg and single merger feature type. I will add an image with my choices in parameters. I also have added "autocad_layer" in the "feature attributes"
In areabuilder have chosen to use "autocad_layer" in the "group by" option. The rest I have not made any choices in. Then I create writer OGC geopackage and select "feature option: insert", "table action: create if needed" Uses automatic in "attribute defintion" and then creates autocad_layer.
I have also tried tested fme_basename and fme_feature_type. But it will be the same result.
Can anyone help me out how to read unique values from "autocad_layer" and automatically add a class to the attribute?