Other expression can not be combined with taxonProp function

  • Asked
  • Active
  • Viewed 2807 times
0

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.

0

Accepted answer

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

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.