Skip to main content
Solved

Entering the same Attribute Value for multiple Input Attribute within AttributeManager

  • March 20, 2024
  • 1 reply
  • 151 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

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

1 reply

becchr
Influencer
Forum|alt.badge.img+26
  • 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


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