Dear OF Team,

I have noticed that it is not possible to retrieve information from SPD based on just one key attribute resulting in a set of values.

The reason I am asking for this is to be able to retrieve whether a cluster is permanent or not. For that I would like to be able to use

idm:samplingPointData('psp',id)[1] = "yes"

Where id is the cluster ID. I have 3 plots in a cluster, hence the subsetting [1].

Thanks for your help!

Andras

asked 07 Jan, 13:58

Andras's gravatar image

Andras
1488821
accept rate: 0%


Hi Andras, The expression should be idm:samplingPointData('psp', id, 1) = "yes" The second argument is the cluster ID, the third argument is the plot ID.
Let us know, thanks.
Open Foris Team

permanent link

answered 08 Jan, 13:15

OF%20Collect's gravatar image

OF Collect ♦♦
2.3k7
accept rate: 19%

Believe it or not, I just thought of it this morning :) Thanks a lot!

(08 Jan, 13:45) Andras Andras's gravatar image
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:

×309

question asked: 07 Jan, 13:58

question was seen: 194 times

last updated: 08 Jan, 13:45