Skip to main content
Solved

Multiply the attributes with value

  • May 24, 2016
  • 4 replies
  • 270 views

boubcher
Contributor
Forum|alt.badge.img+11

How could we apply a Multiplier to the attributes value , but the multiplayer value is a variable ex : parcels area * factor and factor value is read from DB of excel cell : )

Best answer by takashi

Hi @boubcher, since the ExpressionEvaluator evaluates the expression for each feature, all the attributes which are used in the expression have to be contained by a single feature. In this case, every "Brida" feature should have the "factor" attribute.

Consider merging the "factor" to the "Brida" features before inputting to the transformer. The FeatureMerger or the Joiner would help you to do that.

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.

4 replies

david_r
Celebrity
  • May 24, 2016

Hi

Have you looked at the ExpressionEvaluator transformer?

David


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • May 24, 2016

yes but it didnt work

check the transformer esrishape-xlsxr2pdf2d.fmwt


takashi
Celebrity
  • Best Answer
  • May 25, 2016

Hi @boubcher, since the ExpressionEvaluator evaluates the expression for each feature, all the attributes which are used in the expression have to be contained by a single feature. In this case, every "Brida" feature should have the "factor" attribute.

Consider merging the "factor" to the "Brida" features before inputting to the transformer. The FeatureMerger or the Joiner would help you to do that.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • May 31, 2016

Thank , woked