3

I wanted to use a local shapefile polygon as roi; i.e.

roi = ee.FeatureCollection("path/to/the/qgis_project_name/polygon_name")

but, I got:

Collection.loadTable: Collection asset 'path/to/the/qgis_project_name/polygon_name' not found.

I tried to export a shapefile in Google drive but I also got the same error.

1 Answer 1

1

You have to import your roi as a shapefile (or kml) with assets section of Earth Engine Code Editor. Another option is to use an earthengine Command Line Tool

3
  • is there a way to upload an asset from Google drive to GEE? The earthengine Command Line Tool shows only how to upload an asset from google cloud.
    – Juba
    Commented Mar 25, 2020 at 9:03
  • No, no way. Try using web interface (code editor)
    – Basile
    Commented Mar 25, 2020 at 10:02
  • @Basile - Sorry to bother you mate but in my case this approach does not work. I have the relevant SHP uploaded into assets in GEE and when I'm trying to get it to load in QGIS it does not work and gives the same error as the OP. It is quite frustrating, just wondering if you can help. Cheers
    – VGu
    Commented Jul 22, 2020 at 1:04

Your Answer

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

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