Questions tagged [google-earth-engine]

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com, which can be programmed using either Python or JavaScript client libraries.

Earth Engine has client libraries in both and .

807 questions
0
votes
0 answers

How to fix Google Earth Engine Error: 'FeatureCollection (Error) Image.sample: Unable to find a crs.'

I am trying to make a random forest classifier for mangroves on an island in the Philippines. I have already produced the desired outcome for dates in 2019 using exactly the same code, but I need the dates changed to ones in December 2021. // cloud…
relayyyyy
  • 25
  • 4
0
votes
0 answers

Export GeoTIFFs issue on Google Earth Engine due to Gdal upgrade

I exported my Geotiff images with Google Earth Engine. I used some metadata in these images for my python scripts but with the MAJ of 2023-05-04 (https://developers.google.com/earth-engine/changelog) Google generates by default a BigTIFF without…
marc
  • 1
0
votes
0 answers

geemap.requireJS can't access code in EE asset

I'm trying to access a package from the 'users/gena/packages:grid' using geemap.requireJS() function with this code: import ee import geemap ee.Initialize() lib = geemap.requireJS('users/gena/packages:text') lib When the code runs, an auth window…
0
votes
0 answers

User Memory Limit Exceed GEE API

I am trying to extract forcing ERA5 data of spatial extent 3by3. Below is partial function code. When I am running the main file that calls the function, I am getting an error that User memory limit exceed. When I tried bounding box method, I was…
0
votes
0 answers

gee code as a module whose functrions and variables can be loaded and used in another gee script

I have Various codes stored as separate GEE scripts. I want to develop another application that would rely heavily on the functions already defined in the existing files. At the moment, one solution would be to copy the contents of each script file…
0
votes
0 answers

Get property of polygons that a point is in GEE

I'm new to Google Earth Engine, am using a Python API, and am stuck on a problem. I have a featureCollection of points and another featureCollection of polygons (FAO data on country borders). I want to find the country each point lies in and add…
0
votes
0 answers

Google Earth Engine API for Javascript: Invalid GeoJSON geometry

I am using the GEE API for Javascript in Node.js, i need import a shape file and use it for clipping raster, my shape file have many polygons, in the GEE console my code work fine: var AOI = ee.FeatureCollection("my_shape_file"); var image =…
gurrumo
  • 83
  • 2
  • 10
0
votes
0 answers

Accuracy assessment of unsupervised clustering - GEE

I have clustered my map on the basis of NDVI values using an unsupervised approach. I don't have the labels. However, I do have the cluster IDs that were automatically assigned. How do I assess the accuracy of my clustering approach (without…
0
votes
0 answers

Google Earth Engine code is returning the error Line 20: Unrecognized argument type to convert to an Image: [object Object]

My Google Earth Engine code (see below) returns the error Line 20: Unrecognized argument type to convert to an Image: [object Object]. Line 20 is the 3rd from last line, displayImage(ee.Image(image)); var sentinel1 = imageCollection …
Rachel
  • 1
0
votes
0 answers

GEE Python API method 'prepare_for_export' not available

I want to prepocess a batch of Sentinel-2 images using the code provided by ndminhhus. Earth Engine authentication, Py6S, custom module "atmospheric", basically all necessary modules have been installed and updated. The code seems to connect to…
0
votes
0 answers

Add polygons as Map Layer using geemap folium and fill color based on categorical variable

I am importing geemap folium with import geemap.foliumap as geemap and creating a map using Map = geemap.Map() It works perfectly for the images I add as layers. I would like to overlay geometries that I have in a GeoPandas dataframe, and set…
Samuel T
  • 23
  • 4
0
votes
0 answers

Trouble loading earthengine-api in rgee R package

I have succesfully installed and loaded rgee. When I run ee_check() sometimes it does work and returns ✔ [Ok] earthengine-api and sometimes it does not work and returns ✔ [X] earthengine-api not installed. I alwasys follow the same…
Jfgrass
  • 1
  • 1
0
votes
0 answers

How to skip Feature with Google Earth Engine ee.FeatureCollection.map() in Python when .get() has no object?

Background: I have an ee.FeatureCollection of Point objects and I'm trying to map() over them to get raster values from one or more ee.ImageCollections. I haven't had problems getting topographical values for my thousands of points, but I'm getting…
0
votes
1 answer

How to map() over Google Earth Engine ee.FeatureCollection in 5000-element chunks in Python?

After converting my GeoDataFrame with 120,000+ rows of point objects to one giant ee.FeatureCollection and trying to map() over it for topographical attributes, I found out Google Earth Engine queries will cut out after accumulating more than 5000…
0
votes
0 answers

Why are my TIF files completely white when I export using GeeTools from Jupyter Notebook?

Here is the code I have been using in my Jupyter Notebook. GeeTools is installed and updated: import ee ee.Initialize() import geetools # Define an ImageCollection site = ee.Geometry.Point([-72, -42]).buffer(1000) collection =…