Collect: Survey Designer: Parent code

  • Asked
  • Active
  • Viewed 6650 times
0

Hi. I just want to ask why I can't add the parent code of my sampling design (schema). That is why the hierarchy is always at level 1. But I actually have three levels.

My sampling design format seems right (level 1-3), then srs id, xy, province, location.

Thank you.

0

Accepted answer

Hi Nancy,
as I understood the sampling design seems to be correct.
The problem can be in the way you use the sampling design code list in the code attributes.
The sampling design data works like a regular hierarchical code list. If you have 3 levels, probably you will want to use 3 different code attributes, one per level. Please try to associate them to the sampling_design code list (automatically provided by the system and associated to the sampling point data) and then specify for each of them the correct parent code attribute. You will see that the hierarchical level of every attribute will change accordingly.
I hope it is more clear now.
Thanks a lot,
Open Foris Team

0

Accepted answer

Hi! Thank you for your answer, It is just that I still can't get it right.

My level one column only includes one area, so I put it all as 1. then at level 2, where I have different parcels with different plots (level 3) within them. I basically have some multiple 1's to n on level 2 depending the number of plots (for level 3).

hope you understand.

0

Accepted answer

I think we have to choice first root then right click , afterward we choice code, add hierarchical, albeit we must add plus bottom for several level. is it Ok?

0

Accepted answer

Dear all,
The sampling point data code list is implicitly hierarchical and you cannot modify it as you do with a regular code list.
Instead what you need to do is to define two code attribute in your schema that use the sampling design as code list: in the second attribute specify the first code attribute as "parent code" so you will see the hierarchical level change to "level 2".
Thanks and let us know if this solved your issue.
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.