@flugan87 It sounds like you're looking for either AttributeFilter or TestFilter.
@flugan87 It sounds like you're looking for either AttributeFilter or TestFilter.
I've tried these. But then I need to manually write each attribute. What I want is to do this automaticly. As an example the table from postgis is called fastkart.mv. In table mv I want to have a outport for each distinct value. So I want one outport for each distinct value in this table. Can you do this in these transformers?
I've tried these. But then I need to manually write each attribute. What I want is to do this automaticly. As an example the table from postgis is called fastkart.mv. In table mv I want to have a outport for each distinct value. So I want one outport for each distinct value in this table. Can you do this in these transformers?
@flugan87 Perhaps you can explain what your end goal is, then the community can give you a better answer.
If you want an output port for each unique value in the fastkart.mv table (the link is not accessible) then this implies that you want a separate pipeline in the workspace for each value. Perhaps what you need to explore is using Group Processing: usgin the 'type' on some of the down stream transformers, rather than splitting the the pipeline.
If the attributes are not dynamic, and you are just looking to avoid having to type them all the first time, you could use an AttributeFilter and then use the Import button on the lower right to bring in all of the values currently in fastkart.mv.
@flugan87 If by 'output' you mean the target format, i.e. excel spreadsheet or geopackage, and you want a separate sheet or table for each 'type', then just use the 'type' attribute as part of the Feature Type name on your writer.