GEE script for systematic sampling - cannot upload in Collect

  • Asked
  • Active
  • Viewed 4391 times
0

Hi,

I am getting a strange error when uploading the output of the GEE script ( https://code.earthengine.google.com/b78f2bf12b92198201e8b224e94a6623 ) for a systematic grid. It seems the names are ok but the content of the columns is not accepted.

alt text

Thanks for the help!!

Florence

0

Accepted answer

Hi Florence,

Can you share the first 10 lines or so of the CSV with the plot locations?? It looks like you may have the headers line more than once ( it complies that you have header names in line 2 instead of actual possible values)

/Alfonso

0

Accepted answer

Dear Florence,

Are you sure the columns are right? In the CSV you have these headers :

id, Ycoordinate, Xcoordinate, elevation, slope, aspect, soil, climate, hillshade, gez, system:index, adm0_name  , adm1_name, adm2_name

Are you sure the hillshade and system:index are necessary?

Check the expected format of the plot file CSV expected by the CE survey by opening the Open Foris Collect Survey Designer, list of surveys, choose your survey and then go to advanced options "Export Collect Earth grid template"

alt text

0

Accepted answer

Hi Alfonso,

Sorry about this: it is a stupid mistake. When rearranging the fields, I forgot to delete an empty column. Once deleted, I can save and export. I checked the systematic grid in CE and it works beautifully.

So, I am good with creating systematic and random samples with provided boundaries. I am still having a hard time to use the GEE script with my own shapefile.

Cheers and thanks very much!

Florence

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.

Tip: type a few words from the error message, or put a tag in [brackets] to look only there.

Menu

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.