Skip to main content
Solved

Entering the same Attribute Value for multiple Input Attribute within AttributeManager

  • March 20, 2024
  • 1 reply
  • 207 views

marianny
Participant
Forum|alt.badge.img

I’m a newbie using FME although I have also experience with SQL and GIS. I recently started working on a transformer using the AttributeManager. This contains ~ 40 attributes and the goal is to convert part of those attributes based on different conditions, and others attributes based on a same expression: @double(@CurrentAttribute())

I was wondering if there was a method to apply the same attribute expression on several input attributes at once while keeping everything in one transformer.

Thank you in advance!

Best answer by becchr

Hi marianny, I think the transformer ‘ExpressionEvaluator’ is what you want?

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/expressionevaluator.htm

You can select the attributes you want to overwrite and use @CurrentAttribute() (last one in FME Feature Attributes dropdown) to do the same calculation on the different attributes

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.

1 reply

becchr
Influencer
Forum|alt.badge.img+32
  • Influencer
  • Best Answer
  • March 20, 2024

Hi marianny, I think the transformer ‘ExpressionEvaluator’ is what you want?

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/expressionevaluator.htm

You can select the attributes you want to overwrite and use @CurrentAttribute() (last one in FME Feature Attributes dropdown) to do the same calculation on the different attributes