This might be quite basic, but I'm struggling with adding points to a map from a CSV table of x,y coordinates in Google Earth Engine (I have over 2000 points).

I have managed to add the points as a shapefile made with QGIS, but it would be useful to know how to upload the points from a table directly.

Here is an excerpt from the "Species.csv" with coordinates (uploaded to my personal folder):


Any suggestions on how to import these points and add them as a layer to the map?

1 Answer 1

  1. Go to the Assets tab of the Code Editor, click the “New” button, and choose “CSV file.”
  2. Select your CSV file.
  3. In the “Advanced options” section, change the “X column” to be “x” instead of the default “longitude”, and the “Y column” to “y”.
  4. Click Upload and wait for the task to finish.

I presume you found most of these steps but might not have seen the column name options. (You could also change the column headings in your CSV file to be “longitude” and “latitude” instead of “x” and “y”.)

Upload dialog

Imported map

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.