Skip to main content
Solved

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

  • March 8, 2022
  • 2 replies
  • 26 views

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

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.

2 replies

connecter
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 72 replies
  • 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
  • 14 replies
  • March 8, 2022

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