Questions tagged [google-earth-engine]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
356 views

Failed connection to Earth Engine servers

I'm trying to export a multi-layer image to drive on Earth Engine, but the task fails with the following error: Error creating or submitting task. Failed to contact Earth Engine servers. Please ...
17
votes
7answers
17k views

Source for high-resolution satellite images free/low-cost?

I am doing a household survey in Kenya, and I need to ensure that my survey team visits every house within a given area. I've been going to google maps and right-clicking on roofs to get coordinates ...
4
votes
1answer
4k views

Performing object based image classification in Google Earth Engine?

I am trying to perform an image segmentation using Google Earth Engine. I have performed OBIA in the past using python and scikit-image (skimage.segmentation.felzenszwalb) , but not sure how to do ...
6
votes
1answer
247 views

How can I estimate a Least Cost Path in Google Earth Engine?

I'm using Google Earth Engine to estimate walking time based on slope, using the Google tutorial and this example based on a DEM. My code actually runs, but I don't know what units the output raster ...
4
votes
1answer
2k views

Iterate over ImageCollection returning pandas dataframe using earth engine & python

I'm trying to extract values from an ImageCollection to a series of points. My goal is to create a pandas dataframe that includes the values from each image & band of the ImageCollection for each ...
2
votes
1answer
2k views

Downscaling raster images in Google Earth Engine?

How can I downscale raster images using basic interpolation methods in Google Earth Engine? For example, I want to resample Landsat image from 30m to 10m, but I cannot find corresponding functions in ...
6
votes
1answer
2k views

Mosaicking a Image Collection by Date (day) in Google Earth Engine

I have an image collection of Sentinel-1 data over 3 years filtered by a region of interest that spans 3-4 tiles, and want to know the best way to mosaic all the images (tiles) that were taken on the ...
4
votes
2answers
534 views

GEE Export.image.toDrive output not matching bounding box?

I am new to GEE and javascript. Copy-pasting here and there, I managed to put together this code that extracts NDVI from cloud-free Sentinel-2 images on GEE. I created a fusion table from a KML with ...
4
votes
1answer
7k views

Clipping vs Filtering Images with a Polygon - Google Earth Engine

I need to analyze the area defined by a polygon that I drew (call it 'X') of the images of Modis Terrra. What is the difference between filtering bounds and clipping to define the area of interest? I'...
3
votes
1answer
3k views

Extracting LANDSAT time-series data by polygon using Google Earth Engine?

importing the landsat 5 TM 32-day NDVI composite data set. I have made it as far as drawing a polygon of my ROI and extracting from a different data set, a global land cover map (ESA/...
2
votes
1answer
3k views

How can I export a set of images from Google Earth Engine?

I'm trying to export images of a bunch of latitude and longitude points, but I keep getting errors. For example, I am trying to export an image of this single point in this fusion table, but this is ...
0
votes
1answer
2k views

download Landsat data from Google Earth Engine for the Continental United States

I need to download one image of the Landsat 7 NDVI 32 day from Google earth engine for the continental United States. Just this specific one image from 2005-08-13 to 2005-09-14. Please see my code ...
4
votes
1answer
1k views

Google Earth Engine Reprojection to non-EPSG defined CRS

Is it possible to reproject an image in earth engine to non-EPSG defined coordinates? In particular either Goode Homosline (SR-ORG:7619) or Mollweide (ESRI:54009). Passing either to .reproject() ...
3
votes
1answer
3k views

Creating Sentinel-2 NDVI time series chart in Google Earth Engine?

I am exploring Sentinel-2 time-series NDVI with Google Earth Engine. In another post (here) I calculated and exported NDVI values from Sentinel-2. Now I would like to create a NDVI time series chart, ...
3
votes
2answers
2k views

Cloud mask for Landsat8 on Google Earth Engine

I'm creating a composite image, in order to create a timeseries. I've already created the composited image, but i am having difficulty masking the clouds of the composite image. I've followed the code ...
3
votes
1answer
892 views

Google earth engine:SST by month per year

I'm trying to plot a chart and get data from Google Earth Engine. I'm using MODIS-Aqua/L3SMI data in Earth Engine. I have used Earth Engines in built functions to compare average sea surface ...
2
votes
1answer
256 views

Image Collection Statistics in Google Earth Engine?

How can I extarct mean of each image collection in google earth engine? for example for this code: var modis = ee.ImageCollection("MODIS/006/MOD13Q1") .filterBounds(geometry) .filterDate("2000-01-01",...
2
votes
1answer
1k views

Export data from time-series image collection to a table in Google Earth Engine

On Google Earth Engine, I'd like to accomplish two tasks: extract data from every pixel, across a time-series, within the given geometry bounds and save it as a table. I need a column which prints ...
2
votes
1answer
2k views

Mapping over list of dates in Google Earth Engine

My function fnc returns as Image but on using the ee.ImageCollection(dates.map(fnc)), it returns an error ImageCollection (Error) ImageCollection.fromImages: Attempt to create an ImageCollection with ...
1
vote
1answer
271 views

DOY chart in Google Earth Engine

With the following code I am trying to produce a NDVI graph with the days of the year on the x axis (based on this example, 2nd graph). var modisNDVI = ee.ImageCollection ('MODIS/MCD43A4_006_NDVI'); ...
1
vote
1answer
880 views

Google Earth Engine - filter landsat by cloud cover over multiple polygons

I want to make a Landsat image collection that is totally cloud free over a SET of polygons. I have about 300 polygons (all within a single Landsat tile). I found this question, which is doing exactly ...
1
vote
2answers
463 views

How to generate a collection of mosaic images by mapping over date list in Google Earth Engine

I want to generate a collection of mosaicked images from Landsat 5 over multiple years. I have checked that the individual images are not null but on returning the mosaic in the code below throws the ...
1
vote
1answer
632 views

Exporting data with different data types in Google Earth Engine. How to make data consistent to download?

I am working with Sentinel-2 data in GEE and I added NDVI and a specific SAVI as new bands to an Image. I had an error downloading 6 bands (RGBI, and VIs) because the data type is not the same: ...
1
vote
1answer
124 views

Reducing hourly rainfall data to monthly data for particular period of time and making a timeseries chart

I am working with GSMaP image collection (hourly rainfall data) in Google Earth Engine. I would like to make a script which is calculating and making a chart of sum rainfall in particular location ...
1
vote
1answer
217 views

Google Earth Engine Modis Data Scaling

I'm new to GEE. I'm currently working on NDVI data analysis. So this is my code for MODIS Ndvi. I want to know how to divide all the images there inside ImageCollection by 10000 to get real NDVI ...
1
vote
1answer
256 views

Google Earth Engine: How to avoid gaps in date-wise image mosaicks?

This question is a follow-up to the excellent answer of Rodrigo E. Principe here: Mosaicking a Image Collection by Date (day) in Google Earth Engine I am trying to apply the suggested code to gather ...
0
votes
2answers
398 views

Exporting loss pixels from Hansen data/Global Forest Change dataset on Google Earth Engine

I am trying to export the loss pixels from the Hansen/UMD dataset for each year from 2001-2014, for a region. I hope to obtain a stack of 13 rasters (one for each year), with a pixel having 0 or 1 in ...
0
votes
0answers
164 views

Writing code to add calculated image to display in Google Earth Engine?

I wrote a code for Land Surface Temperature (LST) from Landsat 8 images in google earth engine. I have successfully calculated the following steps, NDVI, fractional vegetation (fv), emissivity (EM), ...
0
votes
1answer
164 views

Extracting position date of max and min value in NDVI time series in Google Earth Engine?

I need to extract the DATE for max and min NDVI values in a MODIS NDVI time series. i think I am able to extract the date for max but I have problems with the minimum. // turn image collection into ...
0
votes
1answer
82 views

10 days composite from Sentinel 2 Images Collection

A monthly composite can be made using the following code, I take example from Sentinel 2 L1C: var geometry = ee.Geometry.Point([109.061, 11.78]); var col = ee.ImageCollection('COPERNICUS/S2') ...
4
votes
1answer
386 views

Black vertical lines on exported image from Google Earth Engine

I tried to export the NDVI obtained from the Landsat 8 Surface Reflectance Collection in Google Earth Engine and I keep on getting black lines in my final export. Everything looks fine when displaying ...
4
votes
1answer
2k views

How to apply a Cloud Mask in a collection?

I am trying to apply a mask cloud in a SAVI collection (LANDSAT) to get a chart with time variations between pixels. var region = table3 Map.addLayer(table3) var col = ee.ImageCollection('...
4
votes
1answer
161 views

What's the difference between sample, sampleRegions, and stratifiedSample in Google Earth Engine?

According to the documentation of GEE, ee.Image.sample() samples the pixels of an image and returns them as a FeatureCollection, in which each feature has 1 property per band in the input image. You ...
3
votes
2answers
2k views

Conversion from Raster to Vector in Google Earth Engine?

I have applied unsupervised classification on an image in Google Earth Engine using k means clustering algorithm. I have made 15 classes and I have visualized those 15 classes by adding a map layer. ...
3
votes
1answer
977 views

Polygons vs MultiPolygons in Google Earth Engine

Is there an advantage to work with Polygons versus MultiPolygons in Google Earth Engine? I need to subdivide a region of interest into many sub-areas for which I will calculate the evolution of some ...
3
votes
1answer
1k views

Exporting an image in Google Earth Engine image alignment

When I export an image in Google Earth Engine the resulting raster does not match the original. When I import the export back into Google Earth Engine the is an spatial misalignment between the ...
3
votes
2answers
449 views

Filtering Sentinel2 image collection to get least cloudy image for entire ROI

I am trying to obtain the least cloudy image (or images) across my entire ROI. Though I do not get any errors, the true color composite is not being mapped for me to check if I have indeed sorted and ...
3
votes
1answer
1k views

How to mask pixels in image collection?

I want to mask pixels based on the quality band information for image collection Landsat 5. this is a code but the image-collection is empty afterward. I would be thankful if anyone could help me. ...
3
votes
1answer
2k views

Mask clouds in an ImageCollection google earth engine

Is It possible to create .median() Surface Refletance image (landSat 8 RS) without clouds before calculating the NDVI in goolge earth engine? I need to work with a year (eg. 2016-01-01, 2016-12-31), ...
3
votes
2answers
3k views

inconsistent types in google earth engine with Export.image.toDrive()

I have computed NDVI from Landsat7 image, but when I want to export the result in google drive with Export.image.toDrive() it failed with the message error : Fail with an error : Error: Exported bands ...
2
votes
1answer
1k views

number of pixels inside a polygon in Google Earth Engine

I'm trying to know how many pixels are inside my polygon when I calculate the mean (and other statistics) by using the "count" reducer. I guess many things go into this: what GEE does with pixels that ...
2
votes
1answer
194 views

Applying a reducer over a very large feature

The problem: How can we work around memory limits to apply a reducer over a large feature? EE's debugging page suggests either setting using tileScale to reduce the size of the tiles used for server-...
2
votes
1answer
76 views

Sudden increase in the download size of images from GEE

I am working on LandSat 8 data to build a classifier for built up and non built up areas in a particular district. I was using the following code for classification and then to export my classified ...
2
votes
2answers
1k views

Concerning “Landsat 5's cloud mask and pixel quality assessment” in Google Earth Engine

I need assistance for solving a problem with Landsat 5 surface reflectance image's cloud mask. I am new to this tool/programming and want to try this tool to process cloud mask. Through the provided ...
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
2k views

Calculating number of pixels in polygon using Google Earthy Engine?

How to calculate the number of pixels in a polygon, especially, when an image contains null-value pixels? I tried the function ee.Reducer.countEvery(), but it does not work. var geometry = /* color: #...
2
votes
1answer
2k views

exporting table in to a drive from Google earth engine returns blank rows

I am trying to find the mean precipitation of a watershed. When I print the feature collection BasinMean, I can see the mean precipitation in the console. A lot of them are zeros but the first two ...
1
vote
1answer
637 views

Cloud cover percentage in Google Earth Engine

I'm doing a project at my university about the Cloud cover percentage in determinate areas in the world. I'm completely new to Google Earth Engine and I'm struggling a lot trying to find a solution ...
1
vote
1answer
39 views

What is the fastest/proper way to see if a FeatureCollection contains no Features

Take this code example, where mylabel is a ui.Label: var mypt = ee.FeatureCollection(ee.Geometry.Point(Map.getCenter().coordinates())); var states = ee.FeatureCollection('TIGER/2016/States'); var ...
1
vote
2answers
2k views

Getting List elements from .reduceRegion() results in Google Earth Engine?

I have a FeatureCollection that I am using .reduceRegions() over the Hansen Forest Loss dataset using ee.Reducer.fixedHistogram() to get the count of pixels per year/per feature. The result is a ...