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

asked 20 Sep, 18:42

flandsberg's gravatar image

flandsberg
81331
accept rate: 0%

edited 23 Sep, 20:20

Open%20Foris's gravatar image

Open Foris ♦♦
4525612


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

permanent link

answered 23 Sep, 20:06

Open%20Foris's gravatar image

Open Foris ♦♦
4525612
accept rate: 9%

Here is the csv: https://drive.google.com/open?id=1kG0SydIEVBKw2dZwJ2E95aslN5_QEh9W . I don't see the headers twice though...

Thanks Alfonso!

Florence

permanent link

answered 23 Sep, 20:11

flandsberg's gravatar image

flandsberg
81331
accept rate: 0%

edited 23 Sep, 20:20

Open%20Foris's gravatar image

Open Foris ♦♦
4525612

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

permanent link

answered 23 Sep, 20:25

Open%20Foris's gravatar image

Open Foris ♦♦
4525612
accept rate: 9%

edited 23 Sep, 20:25

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

permanent link

answered 23 Sep, 20:46

flandsberg's gravatar image

flandsberg
81331
accept rate: 0%

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:

×347
×191

question asked: 20 Sep, 18:42

question was seen: 134 times

last updated: 23 Sep, 20:46