Math.pow(2.71828182845905, a + b * Math.log(dbh) + c * Math.log(height_m)) / 1000

In this expression a, b and c are the extra properties of taxonomy. the value which had to take part with other expression. But it could not calculate the right value. Sometimes it calculates as blank cell, sometime 1 and sometime 0.01. It works fine if we put only taxonProp('trees','a',species) without messing other calculation. So, I created another attribute and put the right value using taxonProp('trees','a',species). Once the right value populated in the column it could be possible to produce the right value. I know, it is not a clever idea to do the work this way however it is working. In short, please, try to implement this type of expression like taxonProp('trees','a',species) X dbh or taxonProp('trees','a',species) X 10. (Here X is multiplication sign) Thank you very much. I am seriously waiting for the Arena update.

asked 31 Oct '22, 07:40

Rajkumar's gravatar image

Rajkumar
10422858
accept rate: 3%


Dear Rajkumar,
With the latest version of Arena you will be able to edit the Extra Properties of the taxonomy (in the taxonomy editor, using the top right gear button and selecting "Edit Extra Properties") and you can set the data type of your properties to "Number". Then your expression should work as expected.
Many thanks,
Open Foris Team

permanent link

answered 08 Nov '22, 23:19

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×494
×61

question asked: 31 Oct '22, 07:40

question was seen: 959 times

last updated: 08 Nov '22, 23:19