Skip to main content
Solved

How can I "fan out" unknown attributes in a workflow?


Let's say I have data with an attribute "A" which is an integer. I want to process all incoming features with the same attribute the same way (example: check for overlapping geometries within that group of features). But I do not know beforehand what that number will be. How do I do that in FME? Looking for something like AttributeFilter, but with unknown attributes.

I suspect the "group-by" option can do this for some tools, but I'm not sure how to apply it for this problem.

Best answer by connecter

Hi @riverag​ ,

you are on the right track. You can use the Group-By function. I have create an example for you:

Groupby polygonHere you have some polygons an you don't know the values. The number is the Group-By parameter, the string under is the "text". Important, maybe you must rename the column of one file. Both files must have the same column name to Group-By to the parameter.

WF polygon

View original
Did this help you find an answer to your question?

2 replies

connecter
Forum|alt.badge.img+4
  • Best Answer
  • March 8, 2022

Hi @riverag​ ,

you are on the right track. You can use the Group-By function. I have create an example for you:

Groupby polygonHere you have some polygons an you don't know the values. The number is the Group-By parameter, the string under is the "text". Important, maybe you must rename the column of one file. Both files must have the same column name to Group-By to the parameter.

WF polygon


  • Author
  • March 8, 2022

This is great, I will try it this way. Thank you very much.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings