Skip to main content
Solved

Multiply the attributes with value


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.

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

4 replies

david_r
Evangelist
  • 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
Influencer
  • 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


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