Questions tagged [google-earth-engine]

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

417 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
1k views

How to visualize inundation using Sentinel 1 SAR Data?

I am trying to visualize flooding after hurricane Harvey that made landfall on August 25-26 2017. Based on this video, I've been able to obtain the basics of Sentinel-1 SAR imagery. Sentinel 1 comes ...
5
votes
1answer
150 views

Chart of cloud cover over time

I am trying to create a graph with the cloud cover over time, per year. The following code gives me a graph, but I don't manage to get the dates on the x-axis line up chronological. Am I doing ...
4
votes
0answers
74 views

Earth Engine import record, why?

When I paste the following on EE online code editor then if offers me the option to convert to an import record. var l8sr = ee.ImageCollection("LANDSAT/LC08/C01/T1_SR"); var roi = /* color: #d63000 */...
4
votes
1answer
389 views

Pickling a Classifier in Google Earth Engine

I'm busy trying to create a widely applicable reedbed vegetation classifier that could potentially classify any given area within Europe. I already have training data for an area around the Balaton ...
4
votes
1answer
479 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 ...
3
votes
0answers
23 views

Calling a function by its name in Earth Engine code-editor

I have a module where I process some raster images according to one of different functions/ statistical models. I am trying to find a way to allow the user to select which function to use. I have ...
3
votes
0answers
25 views

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

I'm a new Google Earth Engine user an I am trying to remove clouds on Landsat image using cloud mask. However, the cloud mask removes even the shoreline lines, not the clouds. I don't know why. Is ...
3
votes
1answer
34 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 ...
3
votes
0answers
48 views

Hansen loss and lossyear bands do not always match in Earth Engine

I'm looking at the Hansen forest loss v1.5 data in Earth Engine. According to the Hansen documentation, In addition, to reduce confusion, beginning with version 1.4 we are no longer releasing loss ...
3
votes
0answers
458 views

Querying with Large FeatureCollection in Google Earth Engine using Python?

I am trying to process a Tanzania shapefile downloaded from GADM Global Administrative Areas. # im -> {Image} ee.Image({...}) # self.geom_coll -> {FeatureCollection} ee....
2
votes
1answer
27 views

NDVI chart of sampled points

I'm working with Sentinel 2 satellite and I have sampled on the map 4 blue points indicating an irrigated areas, and other 4 red points for non-irrigated ones. Then, I have considered 4 collections, ...
2
votes
0answers
27 views

Extracting joined image collection data from Earth Engine as a CSV

Setting the context Prepare region of interest as multiple sites together as a FeatureCollection var roi_list = [ee.Feature(ee.Geometry.Point(146.007,-17.653), {name: 'S1'}), ee....
2
votes
0answers
28 views

GEE - reduceRegions for an image collection

I am relatively new to Google Earth Engine, currently working on finding mean NDVI for command areas of different tube wells in my study area. What I have done so far is: Filtered L8 image ...
2
votes
0answers
20 views

Calculation difference between a pre- and postimage in Google Earth Engine

I am looking for a way to filter images from an ImageCollection 5 days before a specific date as Previous and 5 days after the specific date as Postimage. But it doesn't work. Background: due to an ...
2
votes
1answer
27 views

Performance/Speed with different types of FeatureCollection filters?

Does anyone know if there is a speed/performance advantage to any of the following three approaches to filtering a large FeatureCollection? OPTION 1: myFilteredFeatureCollection = ...
2
votes
0answers
69 views

ReduceRegions Graph JavaScript in Google Earth Engine

I'm trying to get NDVI values as a featureCollection with my nodejs server. But the "ReduceRegions" function does not recognize the input. How to solve this problem? EE code link: (where it works ...
2
votes
0answers
61 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 ...
2
votes
0answers
30 views

Adding WMS or WFS services to Google Earth Engine

I'm new to using Google Earth Engine. I would like to know if data from WMS or WFS services can be added to this platform. I need this information to do a data validation The information is on the ...
2
votes
1answer
40 views

Google Earth Engine - Using the ee.Reducer.sum() to count the area of diferent classes of a layer (hansen/global_forest_change_2017_v1_5)?

I have use the following function to calculate the area of an area of interest (AOI) of a classification using landsat8 images. this counts the area in square meters of the classification for a given ...
2
votes
1answer
39 views

Multiple Landsat 8 images shown for a single path, row, and date in GEE

I am trying to export an image above the Yenisei Delta using Google Earth Engine. I have its path, row, and date, and when I filter the Landsat 8 TOA imagecollection, I am able to find this image: ...
2
votes
0answers
25 views

Finding whether a particular band value is consistently less over a period of time in an image collection

The code below gives me forest regions of India from the Hansen data set and then I have filtered the landsat images of these regions from 2013-2019 on a quarterly basis. My output image is such that ...
2
votes
0answers
49 views

Add list to features and exporting

I would like to add a list to each of my points such that it gains the list as a "property". The following script does that: var points = /* color: #d63000 */ee.List( [[1.3634359574461996, 31....
2
votes
1answer
40 views

Finding forest regions with consistently low value of NDVI

Using the code below, I have filtered my image collection(Landsat images) over the forest regions of India. (Forest regions were found using Hansen image). I have one mean image per month over 6 years ...
2
votes
1answer
54 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....
2
votes
0answers
48 views

Charting Normalized Difference of Image Collection?

I would like to get the normalized difference of each image within an image collection (In this case Sentinel-2) for a specific polygon/geometry and then chart the values calculated for each image. ...
2
votes
0answers
25 views

Unifying color scale of different tiles in Google Earth Engine?

I found some other posts asked the similar questions but in different tools like ArcGIS, GDAL, QGIS etc. What I want to ask is how to do this in GEE. Now I have removed the bad observation pixels (...
2
votes
1answer
131 views

Finding monthly NDVI anomalies in Google Earth Engine?

I am using 16 NDVI data from GIMMS 3rd generation, and I wish to somehow visualize monthly anomalies (Difference from long term means greater than .5). I have plotted a time series of the data running ...
2
votes
1answer
122 views

earthEngine expression and ternary operator: why does evaluate false value when always true?

Why does EE `.expression('A?B:C') take into account C if A is always true? I am using conditional operations with the image.expression('condition ? true_action : false_action) as documented here. My ...
2
votes
0answers
268 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 ...
2
votes
0answers
171 views

Sentinel 3 Cloud Masking in Google Earth Engine

I am new to GEE and I wanted to use this as part of my research. My first step was to mask the clouds off the images. The code i created basically mask out pixels based on the Quality Flag Bit 27, ...
2
votes
0answers
228 views

Nonlinear regression in Google Earth Engine on each pixel in an image collection using GEE's servers

I am attempting to optimize the parameters for a double-logistic function on an annual MODIS NDVI time series in Google Earth Engine. I have previously looked at Non Linear Regression in Google Earth ...
2
votes
0answers
1k views

Earth Engine Sentinel-2 atmospheric correction

I want to run some time series analysis on sentinel-2 data in EE for my master thesis. However the algorithms for Sen-2 in EE are scarce. The biggest issue is that there isn't any for atmospheric ...
2
votes
0answers
74 views

Serverless geospatial data type conversion (similar to ogr2ogr)

Is it possible to run ogr2ogr or Python/Fiona in a serverless environment where each feature gets processed in parallel and where you don't have to specify the properties of a virtual machine upfront? ...
2
votes
1answer
96 views

Get pixel values from a raster using a multipartpolygon

I'm trying to get the mean value of pixels from an NDVI raster, that intersect the geometry of a FeatureCollection, that is a multipart polygon which represents my sample area, but I can't find the ...
2
votes
1answer
417 views

Extract Pixel Values for Multiple Polygons and Images

I have 21 polygons and for each polygon I want to extract the pixel values inside them for Sentinel 1 images from 2017-01-01 to 2017-06-30. The example below shows how this is done for one polygon. ...
2
votes
1answer
181 views

Adding Map Key to map or console in Google Earth Engine?

Is there a way to print (or plot) a map key in the console (or on the map) in google earth engine ? What would be an approach? var img= ee.Image('COPERNICUS/S2....................'); var ndvi = im....
2
votes
0answers
1k views

Trying to map through and reduce regions of image using Google Earth Engine?

I'm working on building a model in google earth engine that will estimate carrying capacities for bird species based off of a table I have of bird densities per land cover type and an image of land ...
2
votes
1answer
631 views

Charting two FeatureCollections in Google Earth Engine?

I have 2 shapefiles representing different types of land-use. Each Shapefile contains 10 polygons. I would like to chart the mean NDVI value over a specific timespan for each class. How can I display ...
2
votes
1answer
1k views

How to get property of each image in a collection in google earth engine?

I am trying to convert ASTER image from DN values to reflectance. For this I require gain coefficient of each image in the collection I have gathered. //Defining geometry var geometry = ee.Geometry....
1
vote
0answers
15 views

Why is Earth Engine Export.map.toCloudStorage taking much longer than before?

I've created a script to identify the nth least cloudy mosaic for Sentinel-2 data for a given place and time. A few months ago, I was able to execute an Export.map.toCloudStorage for a visualization ...
1
vote
0answers
23 views

Truncated time series table output over multiple polygons using Google Earth Engine

I'm facing issue to export a CSV table of a time series from multiple polygons in GEE. Using few polygons it works well, but when I'm adding more polygons, the output is truncated. My CSV has Polygon'...
1
vote
1answer
36 views

Summarize Land use changes over time with Google Earth Engine

I'm trying to detect how many times land type has changed between 2001 and 2018 (inclusively). For example, suppose a pixel that was: Forest from 2001 to 2003 Bare ground from 2003 to 2010 ...
1
vote
0answers
15 views

Performing Cayula Cornillon single image edge detection algorithm to detect ocean SST fronts in Google Earth Engine?

I am a newbie in programming. I am working with sst data to find ocean fronts in GEE, but to build the Cayula Cornillon algorithm as in the following paper. Cayula Cornillon. 1992. Edge detection ...
1
vote
1answer
24 views

Is there a Post-classification Majority Analysis feature on Google Earth Engine (Similar to ENVI)?

In ENVI there's a Majority/Minority Analysis function that allows you to to change spurious/"wrongly classified" pixels within a large single class to that class (it also allows you to enter kernel ...
1
vote
0answers
15 views

How do you retrieve image coordinates from Google Earth Engine Geometry?

My aim is to convert latitude/longitude coordinates of a GEE ee.Geometry.Polygon object into image coordinates. The boundaries of the image are given by another polygon. The image itself is a sentinel ...
1
vote
0answers
12 views

Calculate the annual mean NDVI for a region using the Maximum Value Composite

I first used the Maximum Value Composite to generate a annual NDVI for a watershed, and then calculated the mena NDVI for the entire basin. I don't know if this code is correct. In addition, I want ...
1
vote
0answers
31 views

Measured line distance very different in ArcMap than Google Earth

My question is about why Google Earth and ArcGIS have such dramatic differences when measuring a line-string. I have an approximately 30 mile trail in Butte County, Northern California. I measured it ...
1
vote
0answers
19 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 ...
1
vote
0answers
19 views

Google Earth Engine: calculate number of weeks where SST over a threshold in past 12 weeks

I've been using the MODIS-Aqua/L3SMI dataset to investigate sea surface temperatures (SST) for a specific region. What I'd like to do is for a specific time epriod (could be day, week or month), find ...
1
vote
0answers
26 views

Google Earth Engine - Internal server error running analysis on long time series

I am trying to run a code on a 38 years time series of daily rainfall data. It works properly if I subset the dataset (ie: 2000-2018) but I got an error if I run the full time series: 1981-2018: ...