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.

asked 18 Mar '16, 08:57

nansinans's gravatar image

nansinans
1112
accept rate: 0%


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

permanent link

answered 18 Mar '16, 10:14

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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.

permanent link

answered 18 Mar '16, 11:30

nansinans's gravatar image

nansinans
1112
accept rate: 0%

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?

permanent link

answered 18 Oct '17, 08:57

ahani1977's gravatar image

ahani1977
111
accept rate: 0%

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

permanent link

answered 18 Oct '17, 20:00

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: 18 Mar '16, 08:57

question was seen: 4,890 times

last updated: 18 Oct '17, 20:00