Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [google-earth-engine]

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

0
votes
0answers
5 views

Load Level-2a Sentinel2 in Google Earth Engine

I can load Level-1C Sentinel2 images in Google Earth Engine, but I need Level-2a images. How can I do that?
0
votes
0answers
8 views

Google Earth Engine - how to set masked pixels to 'noData'

Lets say I have a region of mangrove forests (from a classified Landsat image) and I mask out all non mangrove pixels. I view this as a layer on the map and it shows the mangrove forests on the map ...
0
votes
0answers
11 views

Vegetation Change Tracker algorithm example using Google Earth Engine?

I would like to ask if someone has an example using Vegetation Change Tracker (VCT) using Google Earth Engine, because I couldn't find any, just the parameters the code needs in order to be executed.
0
votes
0answers
8 views

Keeping Image Name in ImageCollection

Is it possible to keep the name of an image when you merge them to form an ImageCollection In the below example the images 'constant1' and 'constant2' become '0' and '1' // Create arbitrary ...
0
votes
0answers
12 views

Checking accuracy of Classified Image in Google Earth Engine

https://code.earthengine.google.com/e430e2a79aecb65e3efbce23779a0abc In the above code, I have Classified an area using cart classifier.Now I want to validate my classification.
0
votes
0answers
26 views

Creating Delta NDVI Image from Two NDVI Images in Google Earth Engine (GEE)

I'm using GEE for studying NDVI time-series over a particular region of interest. In that, I am looking forward to create an image that shows the difference in NDVI between two images. In fact, it ...
0
votes
1answer
28 views

Google Earth Engine equation

I want to write an equation for fractional vegetation in Google Earth Engine usisng NDVI. My code is; var ndviClip = ndvi.clip(table); Map.addLayer(ndviClip, {min: -1, max: 1, palette: ['FF0000', ...
1
vote
1answer
29 views

How to obtain percentiles of classes in classified image in Google Earth Engine?

https://code.earthengine.google.com/e430e2a79aecb65e3efbce23779a0abc I have written this code for supervised classification using the cart classifier. Now I want to extract the no. of pixels in each ...
0
votes
1answer
30 views

Linear Regression Google Earth Engine on seasonal dataset

How can I correctly display my slope in Google Earth Engine, at the Map.addLayer function? I don’t quite understand how to set up the min and max values on scale or offset. I want to show increasing, ...
1
vote
0answers
81 views

Fusion Table Shutdown, alternative shapefile import in code earth engine? [on hold]

An email from google says that Fusion Tables will be shutdown in December 2019. As a result this will impact several projects of mine in which I import fusion tables as feature collections which ...
0
votes
2answers
26 views

Convert a list into ee.FeatureCollection in Google Earth Engine

Starting with this, I have // load var landCover = ee.ImageCollection('MODIS/006/MCD12Q1'); var country = ee.FeatureCollection('USDOS/LSIB_SIMPLE/2017'); // filter // filter on image for 2017 and ...
0
votes
0answers
16 views

Export image collection Google Earth Engine to Google Cloud Bucket Python API

I have an image collection within GEE's Python API that I want to clip and write to my google cloud bucket. I am working on a Google Cloud VM and have mounted my bucket "gee-bucket22" with gcsfuse. I ...
0
votes
0answers
23 views

Removing clouds base nearest space and time on Google Earth Engine?

I'm working with a daily snow product on GEE. I'm trying to remove clouds base nearest space and time. My hypothesis are: In snow product (MOD10A1),for example, a pixel is covered by clouds (Day 2). ...
0
votes
1answer
24 views

Google Earth Engine uploading table asset meets "invalid shapefile supporting file“

I am trying to upload a series of data coordinates to Google Earth Engine. First, I used ArcGIS and converted the Excel data to shapefile and I got eight files. However, when I am trying to upload ...
0
votes
1answer
32 views

Multi-Trend in Google Earth Engine?

I've wrote below code for visualize precipitation changes over a year with ui.chart command in two different provinces. var persiann = ee.ImageCollection('NOAA/PERSIANN-CDR') .filterDate('2017-01-01',...
0
votes
0answers
44 views

Most Efficient Way to Use 'reduceRegions' in Google Earth Engine on a Very Large FeatureCollection

I am working with 1 meter NAIP imagery on Google Earth Engine. I am trying to use reduceRegions to extract point values from NAIP using an ee.FeatureCollection that contains several thousand points ...
-1
votes
0answers
24 views

Using satellites to count solar panels over the Earth [closed]

I was wondering, would it make sense to use satellite imagery and google earh engine to find/count solar panels on rooftops of buidings or on the ground? Or current satellite imagery resolution is ...
0
votes
2answers
21 views

maskClouds vs filter clouds on Google Earth Engine

On Lab 6: Time series analysis from https://developers.google.com/earth-engine/edu, there is maskClouds: var maskClouds = function(image) { var quality = image.select('BQA'); var cloud01 = ...
0
votes
0answers
16 views

Masking clouds on Landsat8 vs Sentinel2

https://code.earthengine.google.com/dff0d955447b5f0e94998ed2fcd0cf29 Thinking about an adaptation of Landsat time series example to Sentinel 2 instead, I'll say that code has three parts which appear ...
1
vote
1answer
40 views

Google Earth Engine exported tif file is unprojected (or strange coordinate system?)

Just starting to learn Google Earth Engine. Sorry if this is covered elsewhere but I couldn't find a tutorial or post about it. I'm doing a pretty simple image export, but when I load the TIFF into ...
0
votes
0answers
19 views

How can ee.Image.stratifiedSample() be used in Google Earth Engine to select training samples for a binary classifier?

This is a follow-on question to How can one create a binary image from a FeatureCollection in Google Earth Engine? The corresponding minimal example can be found here: https://code.earthengine.google....
0
votes
0answers
10 views

Extracting site location from original MODIS sinusoidal projection from Google Earth Engine?

I'm currently trying to find a way to extract site location data from Google Earth Engine for several MODIS products in its original projection (sinusoidal). Yet I have not managed to receive the ...
0
votes
1answer
10 views

merging geometry (Feature Collections from Earth Engine) and Fusion table data for Supervised classification

I have data for a crop in fusion table( I had in excel format hence I converted to fusion table to use in Earth Engine). I also have feature collections (land cover classes like urban, plantation etc) ...
0
votes
0answers
24 views

Using GEE to create graphs of population density vs. anything else? [closed]

This is my first time experimenting with GIS data. I have been trying to produce a graph of population density a function of temperature using Google Earth Engine. Is that possible? A schematic ...
0
votes
0answers
19 views

Faulty Landsat 5 and 7 NDVI/ EVI archives in Google Earth Engine

For my research, I need to use NDVI or EVI datasets in Google Earth Engine. I found Landsat 5 and 7 datasets (8 day, 32 day, anual) for both. However, no matter which combination of datasets and dates ...
1
vote
0answers
16 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 ...
1
vote
1answer
33 views

How can one create a binary image from a FeatureCollection in Google Earth Engine?

I have been trying to find a solution for this for quite some time now based on ee.FeatureCollection.reduceToImage, but I don't seem to be able to find it... Suppose you have a region of interest ...
0
votes
0answers
24 views

Calculating percentage of pixels in polygon with specific value using Google Earth Engine?

I have polygons over a dataset of tree cover pixels (Hansen 2013 dataset). I calculated the total number of pixels per polygon (X) as well as the number of pixels that show tree gain (Y). This works ...
0
votes
1answer
19 views

Google Earth Engine - Displaying landcover classes

I was wondering if theres a way to display single Landcover classes from the Corine Land Cover-Dataset in GEE. I know i somehow have to select the landcover_class_names or values in the property ...
1
vote
1answer
31 views

How to mask out the shadows in Sentinel images using Google Earth Engine

This question is an addition to this question. Rodrigo E. Principe showed how to mask out the clouds as the answer of the asked question. I am wondering if there is a way to mask the shadows as well. ...
0
votes
1answer
36 views

Regarding Time Series analysis in earth engine

I have been working on time series change using Landsat 5,7 and 8 satellite images. The objective of my study is to see any changes in features like forest, agriculture etc over time using NDVI To ...
0
votes
1answer
22 views

Google Earth Engine -hourly timestep

Does anybody know how to select 3-hourly time steps in a dataset on Google Earth Engine? Here is what I have tried // A function to compute CF_solar for every time step at which irradiation and ...
0
votes
0answers
14 views

BULC-U Sharpening Resolution with Earth Engine with Bayesian Updating of Land Cover

There is a recent study and a very interesting classification technique for sharpened land cover maps. Basically the GlobCover 300m resolution is improved to 30m, as the landsat images. This paper ...
0
votes
1answer
21 views

Cannot add an object of type object as a layer

I keep getting the error: Cannot add an object of type object as a layer. It is regarding line 53 of the link below (code is also copied below, error: Map.addLayer(CF_solar, CF_solar, "CF_solar")). I ...
0
votes
0answers
18 views

Exporting Polygons (RGB color bands) nto CSV

I have drawn ~40 polygons over NAIP imagery to collect their R, G, B color bands. I now want to export each polygon with its associated RGB color values into a CSV file so I can plot the polygons ...
1
vote
1answer
32 views

How to extract values from metadata in sentinel 2 images

I am trying to composite an image with the mean value of the METADATA layer "CLOUDY_PIXEL_PERCENTAGE" for every pixel. My goal is to do this for monthly mean values, but I can't find the way to ...
0
votes
1answer
27 views

Principal Component Analysis (PCA) issue on Spectral indices and transformations of Earth Engine

Following the Principal Component Analysis (PCA) section on Lab 4: Spectral indices and transformations from https://developers.google.com/earth-engine/edu I reached a point which its not clear, in ...
0
votes
1answer
16 views

Formatting h-axis of time series chart in Google Earth Engine

I am trying to make a time series NDVI based on mm-yy. Since I get monthly images to a single image (in map_m function), I lose 'system:time_start' from properties. So, I use the loop's time to set a ...
2
votes
1answer
53 views

Data smoothing of 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 I learned how to plot a NDVI time series chart. I know that there are many smoothing methods for reducing NDVI ...
5
votes
2answers
78 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 ...
-2
votes
0answers
38 views

Can Google Earth Engine Python API be installed in Windows 7 32 bit machine?

I am learning to use Google Earth Engine. But my current desktop is Windows 7 32 bit. Can Google Earth Engine Python API be installed in this machine?
0
votes
1answer
21 views

Google Earth Engine filterdate ignored by plot?

I'm starting with Earth Engine (EE) coding. Following instructions from https://developers.google.com/earth-engine/tutorial_api_07 I was able to put together some code and get a plot. But why the ...
0
votes
1answer
22 views

Setting values for palette in Google Earth Engine

I am very new to GEE. I have been trying to figure out how to assign different colours to different NDVI values. Let's say, in following code, I want to assign 'red' for NDVI value of 0.2-0.4, 'orange'...
2
votes
1answer
48 views

Cloudfree images in small area from Sentinel-2

I have a similar question to this one here: Filter Landsat images base on cloud cover over a region of interest Different from the linked question I would like to find a more general solution that is ...
0
votes
1answer
28 views

Wrong with adding time series in the same chart in Google Earth Engine

Recently I've been trying to print time series for different regions and show them in the same plot. Everything goes fine if I exclude the 4th region into the time series (1-3 time series are fine). ...
1
vote
1answer
43 views

Performing logarithmic data transformation for Sentinel-1 using Google Earth Engine?

I am trying to calculate the logarithmic ratio of VV and VH bands of Sentinel-1 images according following equation: log(Ratio) = log(VV) - log(VH). The code is running fine (no error messages), but I ...
0
votes
1answer
17 views

Vectorizing large-scale binary layer in Google Earth Engine?

I would like to vectorize binary raster layers in Google Earth Engine in order to be able to use the geometry of the resulting FeatureCollection in other tasks (e.g. clipping data or similar things). ...
0
votes
1answer
32 views

Cloud Mask Landsat 7 Tier 2 TOA

I am trying to create a decent cloudfree mosaic of Landsat 7 Tier 2 TOA reflectance around the Amery Iceshelf in Antarctica. I did find a good script for landsat 8 TOA (Apply a cloud mask to a ...
0
votes
1answer
20 views

How to count particular DN value's number in image in Google Earth Engine

I want to count the the number of particular DN value. I have tried to use mask and loop to do it, but it's so slow if the image is big. Here is my code (the variable 'image' is a image): var y =[...
0
votes
1answer
35 views

Calculate Landsat 7 NDVI time series and get the maximum NDVI value and correspond image using Google Earth Engine?

I want to to calculate NDVI time series from 2015 to 2018 using Landsat 7 and get the maximum NAVI value in this period and it's corresponding image index. That is, the horizontal and vertical axes ...