Questions tagged [google-earth-engine]

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

Filter by
Sorted by
Tagged with
17
votes
7answers
18k 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 ...
12
votes
2answers
313 views

Concatenating export path in Google Earth Engine

My goal is to store different exports from Earth Engine projects in separate subfolders of a main GEE_export folder on my Google Drive. I'm using Export.image.toDrive: Export.image.toDrive({ ...
10
votes
2answers
7k views

How to stack bands in Google Earth Engine?

I have created an Image collection in GEE and with the help of a function I have computed NDVI index and mapped it to create another collection with NDVI as a band. Now I want the create a stacked ...
10
votes
2answers
3k 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 ...
8
votes
1answer
8k views

Extracting pixel values by points and converting to table in Google Earth Engine?

I realise that this question has been asked before as Extract pixel values by points and convert to a table in Google Earth Engine at Stack Overflow. However, I can't get the code to work. It runs, ...
8
votes
1answer
5k views

Selecting bands of image collection in Google Earth Engine?

I want to use the Landsat 8 surface reflection collection (LANDSAT/LC08/C01/T1_SR), which contains the 7 spectral bands plus some extra mask bands. I want to run my algorithm on just the 7 spectral ...
7
votes
2answers
3k views

What are the min and max values of Map.addLayer on Google Earth Engine?

I'm starting to play with Google Earth Engine. Following https://developers.google.com/earth-engine/image_visualization I see its possible to set min/max values. May I ask the meaning of this and ...
7
votes
1answer
6k views

Selection of only monthly data on Google Earth Engine? [closed]

Can you suggest the code to select only January data from year 2000 to 2010 of Landsat 5 and calculate its mean? Mean of the all Januray image from 2000 to 2010.
7
votes
3answers
2k views

Extracting pixel time series from Google Earth Engine

I have written a short program in Python to extract a time series for any given pixel for MODIS data stored in the Google Earth Engine. The code is working fine and returns a data frame containing the ...
7
votes
1answer
5k views

Iterating over years for features in feature collection using Google Earth Engine?

I am currently working with the Hansen data (Global Forest Change) in Earth Engine. I have also imported a fusion table representing districts in a specific country. My goal is as follows: I would ...
7
votes
2answers
2k views

Get Earth Engine Object Type

For debugging it would be great to figure out which EE object type an object is. Example code which adds a buffer to a point in a random area: var polygon = ee.Geometry.Point([0,51.477]).buffer(...
6
votes
1answer
12k 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'...
6
votes
1answer
5k views

Cloud mask in Surface Reflectance Landsat 8 test

I've noticed that my cloud mask wasn't working, so I've tried this simple test: https://code.earthengine.google.com/50699c2eaa1a873ccd28f26c583c5a45 But my data uses the Surface Reflectance Landsat 8 ...
6
votes
2answers
12k views

Export each image from a collection in Google Earth Engine

I am trying to export each image in a filtered stack of Sentinel-1 images and cannot seem to get it right. Think link suggests using imageCollection.map() and a custom function (such as a geometric ...
6
votes
2answers
6k views

Filter Landsat images base on cloud cover over a region of interest

My goal is to create an image collection that has 100% free cloud over a small region of interest, for example a lake. This script filters landsat 8 images based on location and cloud cover: var ...
6
votes
1answer
6k 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
3k views

How do I visualize points in a FeatureCollection based on feature properties using Google Earth Engine?

New user of Earth Engine and Javascript here. I have a FeatureCollection of points. These points are field observations where researchers have marked water sources, and noted whether or not they were ...
6
votes
1answer
450 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 ...
6
votes
3answers
286 views

Landsat 8 striping/banding citation

Does anyone have or know a citation for the Landsat 8 striping that affects some scenes (Brazil shown here). It's apparent in all bands (B3 here at 100% stretch) and is present in both RAW and ...
6
votes
1answer
2k views

Exporting classification error matrix Google Earth Engine

I did a supervised classification of land cover and I need to export the Validation error matrix to .csv file. When using 'Export.table.toDrive' an error message 'Invalid argument: 'collection' must ...
6
votes
1answer
1k views

Reducing image collection to get daily sum from hourly precipitation and extraction of polygon data?

I'm using GSMaP image collection in Google Earth Engine, which has hourly precipitation data from 2000 to present. I have a script which helps getting mean pcp data (as a table) from polygon from each ...
6
votes
1answer
466 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 ...
6
votes
1answer
913 views

NDVI chart using sentinel 2 image in Google Earth Engine

I want to make a chart in google earth engine based on monthly NDVI value of one plot. For that i am using the following codes function maskS2clouds(image) { var qa = image.select('QA60'); // ...
6
votes
1answer
116 views

Earth Engine ee.ImageCollection export mis-projected

I am exporting MOD10A1 imagery from Google Earth Engine and the exported data are not aligned properly in space. I tried defining the export crs as per Nicholas Clinton's advice here but to no avail. ...
6
votes
1answer
4k views

Google Earth Engine: label objects on map

In my Google Earth Engine script, the user can click on a point on the map, and then a time series history chart of that pixel value is displayed in the console. However, after the user has clicked on ...
6
votes
1answer
502 views

EarthEngine: average/reduce a raster at resolution of coarser raster?

I want to average a 30m raster at the resolution of a 1000m one. Specifically, I want to computer, for each Daymet raster cell, the percentage of cultivated land from the 30m CDL. How can I do that ...
6
votes
2answers
2k 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
3answers
9k views

Selecting every image of collection using Google Earth Engine?

I am currently working on google earth engine and I have created an image collection with 15 images in it. What i want to do is to create an image for every single image in my collection. I was able ...
5
votes
2answers
1k views

Earth Engine: Simplest way to move from EE image to array for use in sklearn?

I've produced a very large multiband image in EE with the goal of classifying it using the classifiers implemented in sklearn (the native ones implemented in EE don't provide enough flexibility for my ...
5
votes
3answers
2k views

Google Earth Engine: different stretch options

I'm working on a map view that detects new ice using Sentinel-1 together with Google Earth Engine. When adding images to Google Earth Engine I can set the min and max values for my layer in numbers ...
5
votes
2answers
3k views

LS7 filling the gaps image with google earth engine

I would like to work with Landsat 7 images, but most of them have gaps... I would like to fill the Gaps by aggregate images bands by month. So I'm looking for a way to deal with this problem. I have ...
5
votes
2answers
3k views

Reclassifying raster values in Google Earth Engine?

I need to reclassify slope raster (val: 0-90) to 9 classes (1-9). I used this code but the output raster cannot be displayed. What did I do wrong? // Add features var sumatera = ee.FeatureCollection("...
5
votes
1answer
439 views

Google Earth Engine: Javascript to Python conversion: syntax error with `image1.and(image2)`

I need to convert my Earth Engine javascript code into the Python API. Most of it works, but when using the following in Python (2.7): mask = image1.and(image2) I get: File "<ipython-input-65-...
5
votes
1answer
99 views

Error in multi-temporal filtering of images

I tried multi-temporal filtering of the Sentinel-1 images by adopting the code available at https://code.earthengine.google.com/01e247bc0c59442437a737cfc28f7430 I need to apply the multi-temporal ...
5
votes
1answer
4k views

Count the number of pixel identified as water from a collection of landsat image

My objective is to count the number of pixel identified as water from a collection of landsat images. The following function masks out non-water area for each image in the image collection, it also ...
5
votes
1answer
78 views

Filter Sentinel-2 Image Collection for many tiles

I used the code snippet below to filter a Sentinel-2 S2_SR collection by metadata (S-2 Tile). This snippet helped me to obtain imagery that covers the Tile 32UQC. Now I would like to get a Sentinel-2 ...
5
votes
1answer
911 views

Resampling in Google Earth Engine: exporting Sentinel 1A to Google Drive

I tried to export Sentinel 1A to Google Drive on Google Earth Engine. The function has a parameter name "scale" which determines pixel scale of the exported image. Export.image.toDrive({ image:...
5
votes
1answer
3k views

Google Earth Engine: Extract values from FeatureCollection as list

I'm trying to extract values from a FeatureCollection as a list. Here's some example code that I'm using in Earth Engine's code editor: var viirs = ee.Image('NOAA/VIIRS/DNB/MONTHLY_V1/VCMCFG/...
5
votes
1answer
85 views

Export mosaic to Google Drive, generating more than just one file and can't download this

I'm exporting a mosaic via google earth engine to google drive, however it has generated many files inside a folder. // Create a geometry representing an export region. var roi = ee.FeatureCollection(...
5
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('...
5
votes
1answer
641 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 ...
5
votes
1answer
157 views

Finding quality flag in Sentinel-5P data to filter by

I would like to filter S-5P data to show only data with clouds less than 5% using Google Earth Engine. I'm working with Sentinel-5P NRTI NO2: Near Real-Time Nitrogen Dioxide. A guide from Copernicus ...
5
votes
1answer
564 views

Calculate mean EVI for multiple polygons across an image collection in Google Earth Engine

My goal is to calculate mean EVI for a collection of polygons for each image in an image collection. My collection of polygons is a GEE feature collection (called 'polys') and I'm using the Landsat ...
5
votes
1answer
1k views

Calculate the area covered by a pixel in Google Earth Engine?

I am doing a project on calculating the growth of urban areas in different cities located in different parts of India. I have been able to classify the area into urban, vegetation and water. I ...
5
votes
2answers
3k views

Importing Sentinel-1 Image Collection to Google Earth Engine API

I'm currently having an issue with trying to import the Sentinel-1 image collection into the Earth Engine API. My script is as follows: var imgSentinel1 = ee.ImageCollection('COPERNICUS/S1'); Map....
5
votes
1answer
2k views

Timelapse Google Earth Engine and QGIS

Any chance somebody is working on plugin for QGIS or know about any project trying to get Timelapse Google Earth Engine (imagery) into QGIS? There was a major update recently and it looks really ...
5
votes
1answer
229 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
1answer
7k views

Drawing polygon and extracting land cover inside using Google Earth Engine?

A new question derived from my Seeking website to do geoprocessing online? In Google Earth Engine, is it possible (if so, how?) to draw a polygon and extract the land cover inside? I would guess so, ...
4
votes
2answers
10k views

How do I find Sentinel-2 dataset ID on Google Earth Engine?

I'm new at Google Earth Engine and Javascript. I'm trying to use Sentinel-2 data in the API following this tutorial of Landsat data . According to this, it is possible to load/add a Sentinel-2 ...
4
votes
1answer
2k 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 ...

1
2 3 4 5
48