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, 07:40

Rajkumar's gravatar image

Rajkumar
17611951
accept rate: 4%


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, 23:19

OF%20Collect's gravatar image

OF Collect ♦♦
4.0k18
accept rate: 21%

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:

×460
×4

question asked: 31 Oct, 07:40

question was seen: 54 times

last updated: 08 Nov, 23:19