Skip to main content

Questions tagged [google-earth-engine]

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com.

1,641 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11 votes
1 answer
891 views

How to use a custom function inside GEE ee.Reducer?

I have generated a segmentation using SNIC on GEE and calculated some statistics/features for each segment, using ee.Reducer e.g. mean, std, median, etc. I want to calculate more features based on my ...
Federico's user avatar
  • 367
7 votes
0 answers
745 views

Equal Earth Projection in Google Earth Engine

I'm trying to get a gobal visualization similar to what NASA does. They are probably using popular Equal Earth projection (EPSG:8857), but this fails in GEE. In order to implement this projection, I ...
Basile's user avatar
  • 3,583
7 votes
1 answer
3k views

Results of Variable Importance of RF Classifier in GEE

I create a RF module in GEE like this: //Random Forest Result Function Module exports.getRfResults = function(image, title, bands, trainPoint, testPoint, area, label) { //Create Sample Points ...
BerkayOzen's user avatar
6 votes
1 answer
630 views

Google Earth Engine: Adding raster assets. How long can the ”Asset ingestion” take in Earth Engine after a successful upload?

I am trying to add a relatively large raster dataset (single band data, 8.05 GB GeoTiff, semi-global coverage) as an asset to Earth Engine through the web interface. The upload succeeded, but now ...
Jonatan Hildén's user avatar
5 votes
0 answers
1k views

Cropland field delineation using OpenCV and Google Earth Engine

I want to follow the methodology in the following article in order to find field boundary delineation automatically: "Multi-Temporal Crop Type and Field Boundary Classification with Google Earth ...
Aidos Makhanov's user avatar
5 votes
0 answers
185 views

Earth Engine coordinates in a map

I am beginner and I'm having troubles to do what I want in Earth Engine. I want to put the coordinates under the map, like this: I already made the layer, but I don't know how to put the coordinates ...
Mailon Figueiredo's user avatar
5 votes
0 answers
526 views

How to fix "Parallel Arrays Must Have Same Length" error for chart

I'm using a transect with two types of data to collect temperature and aerosol index on Google Earth Engine. I want to print a line chart using multiple dates, but I keep getting two error listings: ...
Leslie Birch's user avatar
5 votes
0 answers
2k views

Export: Error: Internal error. from Google Earth Engine

I'm attempting to export an image by a time block for a particular census KML using the method below. Earth Engine is kicking back "internal error". As the error is not very helpful, I am having a ...
krewsayder's user avatar
5 votes
0 answers
391 views

Google Earth Engine: Prevent Cloud mask algorithm for Landsat-8 from masking coastline

I am trying to remove clouds on Landsat image using cloud mask. However, the cloud mask removes even the shoreline that do not have clouds. I don't know why. Is there another way? (upper: pre-masked ...
Marino's user avatar
  • 86
5 votes
0 answers
1k views

K-fold validation on Google Earth Engine

I have a satellite image "india_image" and data in form of a feature-collection "ft". I want to perform k-fold validation on this data in Earth Engine. How to do so? var india_image = ee....
Mayan19's user avatar
  • 123
5 votes
1 answer
425 views

Plotting Sentinel 2a images on Earth Engine map shows missing chunks of images interrupting continuous sweeps

I am by no means knowledgable in this field so I apologise for the lack of a better description in the title, but (shown below) it seems that a lot has been masked out. This was taken from a short 5 ...
Joff's user avatar
  • 51
4 votes
0 answers
391 views

Choosing the right coordinate system to measure area all over the world

I'm kind of new to GIS, I have a background in physics, but I'm pretty confused with all the projection available and how to use them. I have a dataset of 133 coordinates around the world. I am using ...
Laurent's user avatar
  • 41
4 votes
1 answer
908 views

Masking FeatureCollection using image in Google Earth Engine

I have a FeatureCollection with my study area, and an image with urban areas. I want to remove the areas in my FeatureCollection where the image has urban areas. How can this be done? var studyArea = ...
Pablo's user avatar
  • 41
4 votes
1 answer
892 views

Fill gaps in a categorical image with neighbors values in GEE

I'm reclassifying a DEM asset into 6 categories. However, there are some pixels that don't meet my criteria and are null. I would like to find a way to fill these gaps depending on its area and its ...
Luisa Fernanda Velasquez Camac's user avatar
4 votes
1 answer
196 views

How to get coordinates of geometry in its own projection?

I am calculating the centroid of a Feature, and then extracting the geometry of that point in a specific projection. When I print the geometry, it shows me under coordinates the coordinates I expect. ...
Andrei's user avatar
  • 766
4 votes
0 answers
257 views

Chart multiple regions on one histogram

I'm having trouble trying to chart multiple regions onto one histogram. var urban1 = urban.first().geometry(); var pine_forest1 = pine_forest.first().geometry(); var regions = ee.FeatureCollection([ ...
M Johnson's user avatar
4 votes
1 answer
942 views

How to set band names of multi-band GeoTIFF asset upon upload to Google Earth Engine

I have created a multi-bands GeoTIFF using xarray in Python following this answer. When I display this raster or open it in QGIS, all the bands are named following the variable they represent: ...
e5k's user avatar
  • 160
4 votes
0 answers
603 views

Align pixels for two images with same CRS in Google Earth Engine - why it doesn't work and, do I need this?

I am doing calculations in Google Earth Engine using several images from different sources, but I don't find a way to snap or pixel-align the layers before calculations. Also, I don't seem to ...
Javier Fajardo's user avatar
4 votes
0 answers
251 views

.getDownloadURL() does not respect image clipping (Earth Engine)

I want to download a clipped version of image with getDownloadURL(), but the result only maintains the bounds of clip polygon, not the shape itself. This is an example script: var no2_coll = ee....
Basile's user avatar
  • 3,583
4 votes
1 answer
1k views

Missing features from featureCollection in Google Earth Engine but present in Fusion Table

I am using google earth engine code editor to extract some band values at specific point locations. To do so I have loaded my .csv file with point IDs and coordinates into Fusion Tables and the Map ...
Riccardo Testolin's user avatar
3 votes
0 answers
314 views

Using Google Earth Engine in ArcGIS Pro

I have been trying ways to use GEE in ArcGIS Pro but it keeps giving errors. So when I clone an environment and give it a name and activate it. Now I open a newscript and type the following code ...
Jolly's user avatar
  • 31
3 votes
0 answers
129 views

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 ...
th145's user avatar
  • 25
3 votes
0 answers
125 views

Delete vertices in a geometry in Google Earth Engine

I can't figure out how can I delete a vertex after I've created a geometry (polygon or line) in the map editor of Google Earth Engine. It is possible to create a new one by clicking in the middle ...
Rodrigo Lustosa's user avatar
3 votes
1 answer
202 views

Google Earth Engine task.id not showing correct id format?

const task = ee.batch.Export.image.toCloudStorage({ //task description }); task.start(() => { console.log("Task started: " + task.id) }, (error) => { console.log(&...
robaza's user avatar
  • 31
3 votes
1 answer
214 views

Landsat Collection 2 surface reflectance harmonization

I am using Landsat 5, 7, 8 collection 2 level 2 to extract NDVI time series with GEE. Is it necessary to apply the Landsat ETM+ to OLI Harmonization with the Roy et al. (2016) coefficients to ...
mdorigo's user avatar
  • 41
3 votes
1 answer
302 views

DataTable Charts issue in Google Earth Engine

I am working on drawing a chart using datatable. So I followed the instructions in https://developers.google.com/earth-engine/guides/charts_datatable I noticed a 30 days shift between the data and the ...
Yasir Al-husseinawi's user avatar
3 votes
1 answer
747 views

Image collection monthly averages using geemap package

I am trying to convert some code snippets from GEE JavaScript to Python. This code computes the monthly averages of NDVI images given a range of years and a range of months. This is my code in ...
Rim Sleimi's user avatar
3 votes
1 answer
189 views

Earth Engine - Exporting image after object based methods/analysis

I performed object-based methods to calculate a mean (zonal statistics) for connected pixels adapted from this guide: https://developers.google.com/earth-engine/guides/image_objects#label_objects Here ...
COPEL's user avatar
  • 67
3 votes
0 answers
368 views

Dynamically formatting file names for exporting using Google Earth Engine JavaScript API

I'm very new to GEE and JavaScript and I am trying to export multiple landsat 8 satellite images for the same region over time. For example, let's say I want to extract images of the Seattle area from ...
Kyle Chan's user avatar
3 votes
1 answer
334 views

Extracting date range from RADD dataset in Google Earth Engine

I have a script that provides the latest event/alert from the RADD dataset. I would like to extract events from a date range, e.g. 2020-01-01 to 2021-12-31. How should I go about this? This is the ...
Johan's user avatar
  • 73
3 votes
0 answers
311 views

Rainfall trend analysis in Google Earth Engine

I have an image collection of images representing total seaonal rainfall from 1980-2020 in my study area. I want to run an analysis which identifies if a pixel has any significant trends i.e. ...
Chelsea_VictoriaS's user avatar
3 votes
0 answers
150 views

Uncertainty in estimating a polygon area in GEE

I have 2 methods to compute the area of a polygon: Using the dedicated method: ee.Feature.area() Summing the area of each pixels of an image reduced to the polygon using ee.Image.reduceRegion() ...
tmth's user avatar
  • 61
3 votes
1 answer
1k views

Bitwise and bitmask used in mask clouds Sentinel-2 images

What is the function behind two specific line in below coding block ... 1) var cloudBitMask = 1 << 10; 2) var mask = qa.bitwiseAnd(cloudBitMask).eq(0) .and(qa.bitwiseAnd(cirrusBitMask).eq(0)); ...
rez's user avatar
  • 202
3 votes
0 answers
885 views

Generation of snow cover area time series in GEE using MODIS Snow Cover product

My aim is to resample MOD10A1/MYD10A1 to the same scale as that of MOD11A1/MYD11A1, mask the image collection to obtain the best pixels, and finally to obtain the time series plot of the total area ...
Vineeth's user avatar
  • 57
3 votes
0 answers
301 views

Alternative for Normalized Difference Built-up Index (NDBI) using satellite imagery with RGB & NIR bands

I am currently working with Planet SkySat multispectral imagery in Google Earth Engine (dataset description). It has only Red, Green, Blue and NIR bands. My objective is slum mapping and for this, ...
polymathic's user avatar
3 votes
1 answer
396 views

Exporting time series data of multipoints in Google Earth Engine

I have created three points of land surface temperature. I want to export the time series result in three different variable names. // Import country boundaries feature collection. var dataset = ee....
user9392100's user avatar
3 votes
0 answers
4k views

Parameter 'input' is required by using GEE

I am new to using google earth engine. Exploring forums I found a script that is very useful to me, but when I run it I get the following error: Error: Error in map(ID=...
Marcelo Scarone's user avatar
3 votes
1 answer
308 views

Error: Unable to open image while ingesting into earth engine

I am trying to upload and ingest a raster file of TIF format into the earth engine. The data is stored in GCS and I used CLI to make the upload. Upload is complete, but ingestion is interrupted ...
Praneeth Kadiyam's user avatar
3 votes
0 answers
970 views

Timestamp video/time-series in Google Earth Engine

I successfully managed to output a video time-series of processed Sentinel 1 SAR images in GEE for my areas and dates of interest by adapting an existing script. However, I've not been able to ...
Beardsley's user avatar
  • 433
3 votes
0 answers
71 views

Setting projections for an earthengine app

I am experimenting with earthengine app as described at Earth Engine Apps. I am trying to use a different projection than the default. This answer to Changing projection of Google Earth Engine code ...
laura_poggio's user avatar
3 votes
1 answer
686 views

How GEE align pixels and projection when reduce resolution?

Here is the thing: I want to count how many Landsat pixels 30x30m were included in a 500x500m MODIS pixel. It is basically a zonal statistics, and I use reduceResolution to compute. But the issue is: ...
hydro9's user avatar
  • 71
3 votes
0 answers
792 views

EVI in Google Earth Engine

I calculated the EVI for a Landsat image from -1 to 1. However, when I use the inspector tool in GEE and click around on my image, I see I have values less than -1. Is there something wrong with my ...
Grace's user avatar
  • 57
3 votes
0 answers
782 views

How to perform thinning/skeletonization morphology operation on GEE?

In google earth engine (GEE) they provide a morphological operator for erode and dilate as follows (Ref: here) image // Perform erosion .focal_min({kernel: kernel, iterations: 2}) // ...
Wakeme UpNow's user avatar
3 votes
0 answers
191 views

Measure distance to coast along river

I have a dataset on rivers and a dataset on the location of dams. I want to calculate the distance from the dams to the river’s mouth at the coast along the river (not the shortest distance) for those ...
Sven Christens's user avatar
3 votes
0 answers
455 views

GEE Hypothesis Test for Regression Slope

I am using Google Earth Engine to calculate linear trends over time using the linearFit reducer. I am interested in identifying pixels that exhibit significant increasing and decreasing trends using a ...
H.Traver's user avatar
  • 247
3 votes
0 answers
700 views

Histogram matching in Google Earth Engine?

Does anyone know if there is a more GEE-friendly way of achieving this? I'm experimenting with S1 SAR image histogram matching in GEE and was wondering if foremost the code can be improved. Read here ...
Francis Laclé's user avatar
3 votes
1 answer
1k views

Exporting image collection to asset

I am trying to export an image collection of model results as an asset in GEE but I get the error message: Error: Unable to export features with unbounded geometry. The images in the collection ...
Darri's user avatar
  • 39
3 votes
2 answers
1k views

COPERNICUS/S2_SR data missing?

I am trying to download time series data (2017-01-01 to 2018-12-31) of different optical indices (e.g. NDVI) from the COPERNICUS/S2_SR dataset. The chart I plot only ever contains few values per year ...
Lisa's user avatar
  • 31
3 votes
1 answer
167 views

A region must be a GeoJSON Polygon or LinearRing. Got: 'MultiPoint'

I am new to Google Earth Engine and was trying to run a script to get Landsat images of districts of India after having a fusion table of shapes of all districts. GEE script is as: var india = ee....
Mayan19's user avatar
  • 123
3 votes
0 answers
4k views

Watersheds and Catchment delineation in Earth Engine only with included datasets

Is there a possibility to derive Watershed boundaries or catchment areas by using one or more of the integrated data sets in google earth engine? The available data sets are: WWF HydroSHEDS ...
till Kadabra's user avatar

1
2 3 4 5
33