Skip to main content
Archived

Implement custom transformers as functions in programming

Related products:FME Form
  • June 25, 2016
  • 2 replies
  • 61 views

Forum|alt.badge.img+7

Would it be possible to implement a second type of custom transformer (CT) where the creator can state that all attributes created inside the custom transformer are local and therefore will not be added to the feature entering the CT. In the output port(s), those attributes that are the result of the analysis will be visible. In the parent workspace, the user that uses this CT can than be allowed to catch the values returned by the custom transformer ('the function') and store it in attributes with names that can be chosen by the user (or by typing or by value of an attribute).

Implementing a custom transformer in this way, will allow us to completely differentiate between the feature that initiates the CT and the analysis done within the CT AND it will allow us to catch results in different attributenames without overwriting a possible existing attribute.

Is it clear what I'm looking for?
What do you think of this idea?

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

redgeographics
VIP
Forum|alt.badge.img+63

It's not quite clear to me what you mean, can you provide a sample?


ekkischeffler
Contributor
Forum|alt.badge.img+7

I like the idea as I have also been struggling with conflicting attribute names between attributes created within the custom transformer and the feature entering the custom transformer. Would be great to have a clean separation between 'inside' and 'outside'.