Hi!
I would like to check the amount of trees measured with a DBH less than 20 cm in my survey for sample tree selection purposes. Is this possible in Collect?
Thanks!
Hi!
I would like to check the amount of trees measured with a DBH less than 20 cm in my survey for sample tree selection purposes. Is this possible in Collect?
Thanks!
Accepted answer
Yes sure. Suppose that you have for example a biophisycal survey structured like cluster -> plot -> tree and you have an attribute "dbh" inside the "tree" entity, then you can select the trees that have a DBH greater than 20 with this expression: tree[dbh > 20].
Don't forget that the expressions will be evaluated considering the parent entity current schema node as "context", so the expression written before is valid if it's defined inside a attribute contained into the "plot" entity (the context will be "plot"). Instead, if you want to use it in an attribute defined inside the "tree" entity, the expression will become: parent()/tree[dbh > 20]. Thanks
Once you sign in you will be able to subscribe for any updates here