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
0answers
6 views

Removing clouds in Landsat 5 TM Collection 1 Tier 1 TOA Reflectance image

I am trying to remove the clouds from my image but when I try to run the masked layer seems to be error. Is there any solution how to remove the clouds or solve the issue. The link is: https://code....
0
votes
0answers
14 views

Set property (date) of images in Imagecollection from value in date band in Earth Engine

I have a Imagecollection with 2 bands per image. One is the 'date' band. The pixel values from this band are equal in every image. The value of one of the pixels i want to use to add as date to the ...
0
votes
0answers
15 views

Multi-seasonal image stacks in GEE

I want to stack layers of 3 images (median images from 3 seasons). I want to differentiate the land uses in different seasons. for example, there will be more waterbodies in rainy season but less in ...
1
vote
0answers
21 views

Image collections are not recognized as the same size for processing

I have two merged collections of images (LANDSAT and LANDTREND). var collection = Collection.select(['NDVI_to_ajust'],['LANDSAT']).merge( imageCollection.select(["NDVI"], ["LTGEE"])) I need to ...
0
votes
0answers
8 views

Classification of stacking image [on hold]

I do the merging of images, but I can not use this images with all the bands in the classification. I want to work unsupervised classification with this merged images. How I do it?
0
votes
1answer
18 views

GEE Change the number of pixels on chart

I'm trying to create a time series chart that will tell me that mean precipitation for a given imageCollection, but my polygon is too big and I get the next error message: "Error generating chart: ...
-1
votes
0answers
12 views

How to create a new image by calculating the average value of neighbor pixels of the original image in Google Earth Engine? [on hold]

So, the problem is that I cannot find a way to iterate over every pixel in an image and create a new image where the pixels of the new image are the average value of neighbor pixels of the old one. ...
0
votes
0answers
10 views

Get username on OAuth Earth Engine authentication

I'm using the following code to authenticate users in a web application based on Google Earth Engine: var onImmediateFailed = function () { $('.g-sign-in').removeClass('hidden'); $('.output')....
-1
votes
0answers
22 views

Uploading big number of images into Assets of Google Earth Engine? [on hold]

I would like to upload around 400 images into Assets of Google Earth Engine and work with them. I have tried to find an answers, and found only manual way to do it in GEE. Is there any fast way of ...
0
votes
0answers
17 views

How to keep native spatial resolution while making a chart?

I have difficulties on producing chart in native spatial resolution. Please, look at the below script. The script allows to transform hourly GSMaP data into daily data and extract the values for given ...
-1
votes
0answers
6 views

Can an image collection be filtered by the extent of another image?

I can filter an image collection based on a vector geometry with filterBounds, but I can't work out how to filter the image collection based on the bounds of another image. Can it be done?
-1
votes
1answer
20 views

Stack image collection

How to combine all the images from the collection into one image with the bands of all the images and I use it to classification. I want to stack all images into one with all bands.
0
votes
0answers
10 views

Error: Exported bands must have compatible data types; found inconsistent types: UInt16 and UInt32 [on hold]

What are the possible reasons for this error? This is the code: Map.centerObject(table); var sentinel = ee.ImageCollection('COPERNICUS/S2') .filterBounds(table) .filterDate('2018-10-25','2018-11-15') ...
0
votes
0answers
14 views

Image collection in google earth engine [on hold]

I made a collection of Sentinel 2 images for the period March-October 2017. How can I access only the images I want to create a new collection for further work from them?
0
votes
0answers
10 views

Export coordinates' values over a rectangle on Google Earth Engine

I am currently trying to export coordinates (and their values) of MODIS Aqua daily hotspot dataset for one month (November 2018). My idea is selecting a region using a rectangle geometry of the image ...
0
votes
0answers
15 views

Calculating classed areas of classified image in Google Earth Engine

I am attempting to calculate of area of 4 different classes in my classified map. But I am getting error "Dictionary (Error) Classification request exceeds size limit." Here is my Code: //Load ROI ...
0
votes
0answers
16 views

getting maximum value of NDVI for first 10 days of month over 20 years [on hold]

I am trying to calculate the maximum NDVI of 10 first days of June from Modis images.so first for each year in have 10 NDVI image, then they will return to one NDVI image including the maximum value. ...
1
vote
0answers
16 views

How to download Landsat 5 specific band using Google Earth Engine?

I am trying to download Landsat 5 Band 6 using Google Earth Engine. When I run the code I am getting the following error: Error: Invalid argument: 'image' must be of type Image. I found on this post ...
0
votes
2answers
36 views

Google Earth Engine: get image value on click

When clicking on a GEE map, I would like to get the value of an Image's (1-band raster) pixel. I'm using Map.onClick to extract values from point on a map. According to GEE examples (e.g. https://...
0
votes
0answers
12 views

Supervised Classification Using Sentinel-1 and Sentinel-2 Satellite Images on GEE [on hold]

I am trying to perform temporal classification of 6 months (Nov-April 2017-18) on GEE using bands of SAR & Sentinel-2 NDVI. I think I am doing any mistake while combining them. Could anyone help ...
0
votes
0answers
7 views

Extract monthly(32-day) NDVI from Landsat 8 surface reflectance in Google Earth Engine [duplicate]

I am new in Google Earth Engine; I would like to have a code to export monthly(32-day) NDVI from Landsat 8 surface reflectance(image collection) to a region of interest, for a year.
0
votes
0answers
17 views

Image not Aligning in Google Earth Engine?

A raster dataset in Earth Engine is not aligning properly to the continent. However, a different raster from the same project database does align properly. This is causing issues for down-stream ...
0
votes
0answers
17 views

Clipping Sentinel 2 with Google Earth Engine? [on hold]

How do I stack and clip the images of Sentinel 2 in Google Earth Engine? I seek code to use for clipping and stacking.
-1
votes
0answers
31 views

How to Modify GEE script working for Landsat change detection to work for MODIS MCD12Q1? [on hold]

I have dataset from MODIS land cover product (MCD12Q1) from 2001-2016 for Thailand. Now I want to perform change detection on this pre-classifed dataset so that I can visualize the change that has ...
1
vote
1answer
21 views

Creating one table out of multiple feature collections and two properties?

I am trying to export one table out of the 18 feature collections I have created, each feature collection has the same geometry (counties of the state of California) and has the County ID (property '...
0
votes
0answers
9 views

I have a serious error “git protocol error”,and I can't save or delete my any scripts. what can i do [on hold]

I have a serious error "git protocol error",and I can't save or delete my any scripts. what can i do
0
votes
0answers
30 views

Create a Cloud Free Image, using BQA

I am trying to create a cloud free image to use in the unsupervised classification, however my final product ("composite collection without cloud") stays with stranger stains and it seems to influence ...
0
votes
0answers
25 views

GEE Download Image Collection Values for Specified Points in CSV

I am new to google earth engine (and js admittedly) and I have a collection of points in Bangladesh that I am trying to extract the rainfall value for each point over the entire CHIRPS image ...
0
votes
1answer
27 views

Keep the same image scale after mosaicking

I am trying to keep the same original image scale after creating a mosaic with the same images. But when I try to add in a map this image I can´t configure the visualized parameters. The problem is ...
-1
votes
1answer
27 views

Raster to Vector, Reduce to Vector - Layer 1: Layer error: must be integral

I am trying to get the centroids of some landsat pixels, but I am getting the error, Layer 1: Layer error: Image.reduceToVectors: First band ('B1') of image must be integral.. Here is my code: https:...
0
votes
1answer
15 views

Update image geometry from another geometry (GEE)

I have a set of images I have processed. Unfortunately, the geometry of the image processed do not always fit the image data. Problem: Let's assume I have an imageCollection. Then, when I would like ...
0
votes
0answers
15 views

use the result of thresholding as a new geometry for further analysis in google earth engine [on hold]

I have calculated the maximum NDVI for 10 days interval from Modis images. I am going to first classify the NDVI image by thresholding, then, analyze the variations of mean value in each class over 20 ...
0
votes
1answer
37 views

Using iterate function to extract time series in Google Earth Engine?

The code below extracts average rainfall for each US county for one given day and send the table result to drive. Now, how can I use iterate function to extract a time series for one year for example? ...
0
votes
0answers
16 views

Problem in accessing data form Landsat5 in Google Earth Engine

I have written a code to calculate NDWI from LANDSAT5 and to creat a time series chart. the problem is that I get very weird results- it says there are only 2 images between 1990-2011 and for that ...
0
votes
0answers
16 views

Hansen Global Forest Change v1.6 (2000-2018) — code? [closed]

Does anybody know if the authors of Hansen Global Forest Change v1.6 (2000-2018) made their code available?
0
votes
0answers
15 views

Checking Spectra of image from Google Earth Engine in ENVI?

I download image on GEE from sentinel and it seems to work, but when I take the TIF image and upload it to ENVI and check the spectra, I get weird spectra. I know that the area that i'm checking is ...
0
votes
1answer
35 views

Remove Cloud Cover with Python Earth Engine API

I am attempting to use google's cloudscore methodology to remove clouds from LANDSAT8 imagery. I am using python to do this. I can get this to work in java from the web code editor, but am unable to ...
1
vote
1answer
24 views

GEE Error: Provide 'geometry' parameter when aggregating over an unbounded image

I'm trying to calculate the mean precipitation for a given polygon for a specific period of time. My end goal is to get one polygon with one value that will be the mean precipitation for a given ...
0
votes
1answer
78 views

Google Earth Engine: pop-up when clicking on geometry/Feature

This may be more of a JavaScript question than a GIS question. I'm adding feature points to a GEE map (https://code.earthengine.google.com/2d6c3146e5468cb9f14e10039ca22b59). My goal is to map point ...
0
votes
0answers
22 views

NDWI Calculation with LANDSAT7

I'm trying to claculate the NDWI values for some plots that I research in Africa using LANDSAT 7. it seems like the code work, but when I try to visualize the polygons, I get only parts of them (see ...
1
vote
0answers
19 views

Export each feature individually as CSV inside FeatureCollection

I have a property (list type) called 'aggregLANDSAT' within 50 features. These 50 features are added together in FeatureCollection. > var coord = function(table, rowId, colId, rowProperty, ...
1
vote
0answers
23 views

Google Earth Engine: convert image collection to image

I want make Supervised Classification for all images in imagecollection. I make one image with all bands, but i can't make classification, console give error: merged.sampleRegions is not a ...
0
votes
1answer
32 views

Calculating statistics for multipolygon in Google Earth Engine?

I have a shapefile which contains many crop plots, around 2000. I need to calculate NDVI (normalized difference vegetation index) and then calculate statistics for each one of the 2000 plots ...
0
votes
0answers
15 views

SVM classification difference [closed]

I am trying make a classification for my area with Support Vector Machine (SVM) method. I am using the same training areas but get the different classification results applying SVM on ENVI and the ...
0
votes
1answer
23 views

how to find cloud cover score of landsat image?

I want to find cloud cover of an image This is my code: var image = ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA') .filterBounds(district) .filterDate('2015-03-01','2015-05-01') .sort('...
1
vote
0answers
25 views

Google Earth Engine FeatureCollection getDownloadURL returns empty CSV

I am trying to create a link that lets me or users of my app download a feature collection as a CSV directly from the map. However, when using ee.FeatureCollection.getDownloadURL, the csv that it ...
0
votes
0answers
25 views

reduce daily imageCollection to yearly imageCollection, and export to drive (visualization and export errors) [closed]

I tried to reduce daily climate image data to yearly and then export to drive. I got the results but return two errors: (1) visualization error: only part of the image can show on my screen (see ...
1
vote
0answers
13 views

Google Earth Engine - count non-null values of multiple images and return them as numbers

I am trying to get quality information for clipped images in an ImageCollection. My approach - so far - was to mask each image and then count the amount of remaining pixels by using "ee.Reducer.count()...
1
vote
0answers
11 views

Earth Engine API (Python) Retrieves script found at a given path as a module not working

Earth Engine API says that require(path) returns an object that represents exported members from the required module. When I try to import ee-palettes with: palettes = require("users/gena/packages:...
0
votes
0answers
11 views

Internal server errors [closed]

What does it mean when a perfectly fine (previously running) code starts giving errors of internal server along with weird bunch of numbers. e.g Layer error: An internal server error has occurred (...