Get Sample Point Data based on one key attribute

  • Asked
  • Active
  • Viewed 3230 times
0

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

1

Accepted answer

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

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

Andras Andras

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.