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
11 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
0answers
9 views

Keep the same image scale after mosaicking [on hold]

I am trying to keep the same orignal image scale after creating a mosaic with same images. But when i try to add in map this image i can´t configure the visualized parameters. The problem is the ...
0
votes
0answers
10 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 ...
-1
votes
0answers
7 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
28 views

Converting Landsat8 DN to TOA reflectance using GEE manually

I'm fairly new in Google Earth Engine and JavaScript. I'm trying to convert Landsat8 DN to TOA reflectance using GEE using a function. // Load a raw Landsat scene and display it. var image = ee.Image(...
0
votes
1answer
8 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 ...
5
votes
2answers
5k 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 ...
1
vote
2answers
510 views

Making stack from many images in Google Earth Engine?

Using the code below, I've computed 20 ndvi images for modis data. How can I stack and save them in a single file? var mod13 = ee.ImageCollection("MODIS/006/MOD13Q1") .filterBounds(geometry) ....
2
votes
1answer
1k views

Randomly splitting Feature Collection in Google Earth Engine? [on hold]

I am trying to do a supervised classification in Google Earth Engine and created around 50 polygons for each of my 5 categories and put them into Feature Collections and merged them into one single ...
0
votes
0answers
6 views

use the result of theresholding as a new geometry for other analysis in google earth engine

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
29 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 ...
0
votes
0answers
12 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
1answer
69 views

Google Earth Engine Import shape as draggable Layer

How to import a shape or image into GEE and drag it around like the self-drawn imports? Edit: the asset is uploaded and also added to the map, but it´s projected according to its coordinates, I want ...
0
votes
1answer
228 views

EE:A region must be a GeoJSON Polygon or LinearRing. Got: 'MultiPolygon'

Tried to export transition classes for a region of interest. I cant export image to drive for my selected feature collection. Getting an error after running for a while,"A region must be a GeoJSON ...
1
vote
1answer
16 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
0answers
13 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
13 views

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

Does anybody know if the authors of Hansen Global Forest Change v1.6 (2000-2018) made their code available?
0
votes
0answers
13 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 ...
1
vote
1answer
47 views

How to find the frequency of pixel categories inside a geometry (Google Earth Engine)

The pixels of a certain Image are classified into 4 categories. I want to count how many pixels within a certain geometry fall in each category. I thought my code below was doing pretty much that. ...
1
vote
1answer
34 views

Earth Engine Cascading selects - redraw/highlight on select

I am trying to create a scenario in Earth Engine where a user has three drop down selects. On each select, the next select will be filtered by spatial intersections of the first select, and the third ...
0
votes
0answers
18 views

Landsat 7 Missing Data and Acquisition Times [closed]

I'm looking at Landsat 7 data through Google Earth Engine, and am noticing large rectangular patches of missing data. This image below is from a 16 day composite from 01-17 Jan 2008. Given that the ...
0
votes
1answer
26 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 ...
2
votes
1answer
78 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 ...
0
votes
1answer
37 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 ...
1
vote
2answers
1k views

Draw a grid of polygons in Google Earth Engine

Let's say that I want to chart daily mean sea surface temperatures per X by X degree cell over time, within some larger patch of the ocean. As per these instructions, this is easily done in GEE using ...
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('...
0
votes
0answers
21 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
17 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, ...
0
votes
1answer
30 views

Offset in GeoTIFF coordinates Google Earth Engine extracts

I download a certain geographic location (lon,lat) with buffer radius around for MODIS products, such as MCD43A2/MCD43A4 from Google Earth Engine using ee, such as: lon = 10.452175 lat = 51.079206 ...
1
vote
0answers
19 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
0answers
13 views

SVM classification difference [on hold]

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 ...
1
vote
0answers
12 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
1answer
19 views

Animate and export video over a time series in Google Earth Engine

I am trying to map a time series of Albedo, and then export it to a video. The mapping works fine, but I am getting the following error on the export: Error: ImageCollection must have 3 or 4 bands. ...
1
vote
0answers
24 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
20 views

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

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 ...
4
votes
1answer
367 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 ...
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:...
1
vote
0answers
8 views

Finding area covered by unmasked pixels in an image in Earth Engine

I want to calculate the area covered by forests in a region. Using Hansen image I have demarcated the forest regions in India. Now, how do I get the total area of forests? // FILTERING OUT FOREST ...
0
votes
0answers
9 views

Internal server errors [on hold]

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 (...
1
vote
0answers
9 views

Finding regions facing deforestation threat in GEE

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 ...
-1
votes
0answers
9 views

Unsupervised classification (clustering) with Google Earth Engine [closed]

I have created a preprocessed image composite of Landsat images from 1984 using the amazing tool developed by Wurshch et al., from the University of Bern. I would now like to do an unsupervised ...
1
vote
1answer
11 views

Google Earth Engine band did not match any bands errord

According to the dataset, there should be a band named: total_precipitation_surface. However, when I try to get data from this band I get: > Collection.first: Error in map(ID=2019061000F000): ...
1
vote
1answer
41 views

Mask water bodies in GEE

I'm trying to to detect changes in land surface over few periods in a specific polygon. The problem is that I want to block water bodies from my calculations. How can I do it? This is the code I ...
1
vote
1answer
43 views

Spatial statistics within a polygon in Google Earth Engine

I am wondering if the information provided in this exchange is still accurate. number of pixels inside a polygon in Google Earth Engine I am trying to calculate mean precipitation within a river ...
0
votes
0answers
8 views

Pansharpening for Landsat 8 surface reflectance in Google Earth Engine

I am trying to apply a pan-sharpening process to Landsat 8 surface reflectance product ('LANDSAT/LC08/C01/T1_SR'), however it lacks the panchromatic band, any one has tried using the Landsat 8 TOA ...
1
vote
1answer
32 views

Google Earth Engine -Iterated image of NDWI

I computed the NDWI of the whole image collection and I expect to output an image that shows water body whenever it has been flooded , even once , throughout the filtered date. Somehow the output ...
1
vote
2answers
155 views

Calculating area by classified image in Earth Engine

I want to calculate the area for each classified color in earth engine. Here are my codes. var image = ee.Image(ee.ImageCollection('LANDSAT/LC8_L1T_TOA') .filterBounds(roi) .filterDate('2015-01-...
0
votes
0answers
40 views

Issue with Exporting Time-Series of Mean Region Statistics in Google Earth Engine

I am trying to export a time-series of multiple polygons' region stats from Google Earth Engine to CSV using the mean region reducer but am having issues with certain polygon IDs being dropped from ...
1
vote
1answer
14 views

Read only a specific value in LC_Type1 Class Table for MCD12Q1.006 MODIS Land Cover Type Yearly Global 500m

I have defined a specific area to look at but now I want to only read the data for the water. MCD12Q1.006 MODIS Land Cover Type Yearly Global 500m has a LC_Type1 Class Table and I only want to read ...
2
votes
1answer
37 views

Time series analysis of NDVI

I want to create a chart of annual NDVI for a specific region. The output should be one NDVI value for that region for each year. I tried the following code and so far was able to get an image ...