Skip to main content
Archived

Implement custom transformers as functions in programming

Related products:FME Form
siennaatsafe
fmelizard
danilo_fme
lars_de_vries
  • siennaatsafe
    siennaatsafe
  • fmelizard
    fmelizard
  • danilo_fme
    danilo_fme
  • lars_de_vries
    lars_de_vries

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 a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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
Celebrity
Forum|alt.badge.img+50

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


ekkischeffler
Contributor
Forum|alt.badge.img+5

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'.


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