Hi all

Is it possible to randomly select a tree per species in the Collect? if yes - can you tell me a formula as well?

best regards

beka

asked 09 Jan '20, 13:21

beka's gravatar image

beka
185836
accept rate: 6%


Hi Beka,

Could you tell us more about what you want to do? Perhaps Collect is not the right tool for it as it sounds that you want to do some randomised test of the data?? There is no random function implemented so far

Thanks

permanent link

answered 11 Jan '20, 10:25

Open%20Foris's gravatar image

Open Foris ♦♦
1.0k5714
accept rate: 10%

Hi Beka,
In version 3.25.0 of Collect there will be a math:random() function that gives a random you can use to randomly "select" a tree, for example you can use it in a calculated attribute (mark it with "calculate one time" also) with an expression like math:random() > 0.5.
Please let us know if it will be enough for you.
Thanks,
Open Foris Team

permanent link

answered 16 Jan '20, 16: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

question asked: 09 Jan '20, 13:21

question was seen: 2,004 times

last updated: 16 Jan '20, 16:19