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
4 views

Understanding Scale in Earth Engine

I am trying to understand the scale parameter in earth engine better. My goal is to calculate monthly sums of precipitation across a geometry. Here is the python pseudo code: area = ee.Geometry....
0
votes
0answers
10 views

Download GEE Image Based on Boundary of Feature Collection in Python

In Google Earth Image I'm trying to download an image using the boundaries of a feature collection using Python. Working off this example, in 'region' I want to specify a feature collection instead ...
2
votes
0answers
7 views

Unrecognized argument type to convert to a FeatureCollection:

I am unable to chart a histogram for my region for each image in an image collection. // Create clipping function var clipper = function(image){ return image.clip(geometry); }; var modis = ee....
0
votes
0answers
7 views

Export image for documentation

I want to export my classified image to drive in GEE, for presenting in a document. I have used this code. Export.image.toDrive({ image: classified, description: 'classified_basin_with_points'...
2
votes
1answer
15 views

What is the difference between .filterMetadata(), ee.Filter.lte() and .sort() in google earth engine?

I am currently trying to obtain images that have less than 70% cloud cover (for example) and I have come across multiple variations of the same. Could you tell me what is the difference between these ...
0
votes
0answers
13 views

How do I get TIFF asset of historical images to my drive?

I have loaded Landsat 4 TOA images. I added a table for my region of interest then I clipped it. Now I want to export the clipped image to my drive. But this error is shown in the task bar whenever I ...
0
votes
0answers
18 views

How to select max and min values of NDVI of a particular plant species and make a Chart in Earth Engine?

I am trying to calculate NDVI of a region and trying to make NDVI chart of it. I got results for that work. I am facing a challenge to extract the NDVI values of particular species(eg:wheat) within a ...
0
votes
0answers
11 views

LSIB feature does not align with island boundary

It looks like there is an alignment issue that arises in EarthEngine with the LSIB polygons. It exists for Greenland in both the Detailed LSIB 2013 and Simple LSIB 2017 datasets, and can be verified ...
1
vote
0answers
27 views

Using .map() to display multiple images in an ImageCollection [duplicate]

How do I display multiple images from an image collection using .map()? // Create clipping function var clipper = function(image){ return image.clip(geometry); }; // Load image collection var ...
2
votes
1answer
41 views

Getting the percentage area of intersecting polygons [on hold]

I have the polygons for census tracts within New York City. I also have the polygons for the parks. What I would like is % of the census tract area, with an added 400 meter buffer, that is park. I'm ...
0
votes
1answer
25 views

Clipping classified image by shapefile in Google Earth Engine

I have classified an image tile, but I cannot clip it along the area shape. How do I do it and get my study area classified and clipped in a TIFF file?
1
vote
1answer
32 views

Counting number of pixels with negative NDVI value within polygon using Google Earth Engine?

I have made a map of vegetation loss and gain for a polygon in Google Earth Engine using NDVI and would like to calculate the area where loss occurred. I attempted to use the reducer to get the sum of ...
1
vote
1answer
48 views

Make a Loop for Monthly NDVI in Google Earth Engine?

I've computed maximum NDVI for each month. but I don't know how can I write this code through a loop in Google Earth Engine? code link: https://code.earthengine.google.com/...
0
votes
1answer
11 views

Earth Engine JRC database : Filtering date from image

I used JRC image collection which is an image of global surface water from 1984-2015. var gsw = ee.Image('JRC/GSW1_0/GlobalSurfaceWater'); Is there anyone who previously worked with that ...
1
vote
1answer
31 views

Earth Engine: nearly identical Sentinel 2 images for same date, same place?

I am using Earth Engine to retrieve Sentinel 2 data. I thought that for a given date and place, I would find only one Sentinel image (revisit time is multiple days). I notice however that for some ...
0
votes
1answer
11 views

Select Features outside of polygon or reverse .filterBounds Google Earth Engine

Is there an easy way of selecting only those features not contained inside a certain polygon, let´s call it aoi? FeatureCollection.filterBounds(aoi) retrieves every Feature inside aoi?
2
votes
1answer
20 views

Filter Specific dates in Google Earth Engine?

I've called Landsat8 images from 2014 to 2019 using filter date function. But I don't know how can I call Landsat8 images only for June, July, and August from 2014 to 2019? Map.centerObject(geometry);...
0
votes
1answer
22 views

Earth engine error: Layer 1: Layer error: Image.visualize: Parameter 'image' is required

For land use classification of my shapefile, When I use Landsat 4 collection, got an error: Layer 1: Layer error: Image.visualize: Parameter 'image' is required. but in the case of Landsat 8, ...
1
vote
0answers
23 views

Watersheds and Catchment delineation in Earth Engine only with included datasets

Is there a possibility to derive Watershed boundaries or catchment areas by using one or more of the integrated data sets in google earth engine? The available data sets are: WWF HydroSHEDS ...
3
votes
1answer
32 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 ...
1
vote
1answer
24 views

Can I use a greenest pixel or a no clouds Sentinel 2 for NDVI analysis?

Can I use a greenest pixel or a no clouds Sentinel 2 for NDVI analysis? I want to use it for extract spectral signature. And now that I´m asking about it, I want to know if I can work classification ...
0
votes
0answers
16 views

Is it possible to link different map's cursors in Google Earth Engine?

Is it possible to link different map's cursors in Google Earth Engine? For exemple: var left = ui.Map(); var leftcusor = left.style().set('cursor', 'crosshair') var right = ui.Map(); var ...
0
votes
1answer
16 views

Using Image exportToDrive in Google Earth Engine?

I want to export image to drive for my roi. For this i have specified a geometry(roi). But exported map doesn't cover the area specified and it's not showing the color palette. Is there any possible ...
0
votes
1answer
18 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
0answers
16 views

Extract pixel number of Hansen lossyear map

I would like to extract the number of Hansen pixel for each different polygon of a shapefile. So if the polygon contains for example 10 pixel of Hansen I would like a column with this value. This is ...
1
vote
1answer
25 views

Error: Exported bands must have compatible data types; found inconsistent types: Float32 and Float64 [closed]

Here is my link https://code.earthengine.google.com/ef1f791ab0223983a1177ddb7bd10699 It has 3 bands, all of them are float type. Why this error to exporting images? What do I need to modify?
1
vote
1answer
33 views

Calculate NDWI from image collection and reclassify to land/water in Google Earth Engine

I am working on a project to analyze land area for a coastal area with several nearshore islands. To approach this I am using Landsat 8, creating a land/water mask based on an NDWI threshold, and ...
0
votes
1answer
24 views

Why is {maxPixels : } set to 1024 for MODIS and 80 for Landsat?

I am currently trying to understand how images are resampled and reprojected in google earth engine and I came across this tutorial: https://developers.google.com/earth-engine/resample Why is ...
0
votes
1answer
23 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 ...
0
votes
1answer
13 views

Using ee.Image.paint() with Geometry

https://code.earthengine.google.com/51d66ca06d0b08dbb5a7f19c10817252 Using theese Lines wont result in a Image with the Line Painted on it var Line =ee.FeatureCollection(geometry) var Pimage = ee....
2
votes
1answer
28 views

NDVI index based on QA bands for MCD43A4 , in GEE

I want to calculate the NDVI index based on the MODIS/006/MCD43A4 collection and based on quality bands, but as a new GEE user I have no idea If I am on the rght way to do this. So far I have the ...
0
votes
0answers
14 views

Calculation of lst from landsat 5 using GEE

I made an algorithm for calculation lst using L5. But it is showing error like; st: Layer error: Parameter 'value' is required. var fc_vis = {min: 0, max: 0.3, bands: ['B5']}; var filtered = L5SR....
0
votes
2answers
27 views

Reduce GEE memory usage?

I am working with global applications and decided to use the Python Earth Engine API to collect some data I will need. I am exporting annual, global NDVI composites based on Landsat. Since this ...
1
vote
1answer
23 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
1answer
16 views

Specifying min and max values for image while exporting from Google Earth Engine

I have this small code for getting nightlight image for a particular city using VIIRS Nighttime dataset. var district = ee.FeatureCollection('ft:1PA2zwArj8EsplrX9eMxJ2H_TICyyx855KPnbJhC1','geometry') ...
1
vote
1answer
18 views

How to specify region of interest for google earth engine to calculate Jeffries-Matusita separability

My objective is to compute Jeffries-Matusita separability using google earth engine python api. I have never worked with ee before, so I am trying to follow this github. In it, to import roi it says: ...
3
votes
1answer
38 views

More information about GEE dataset needed

I have a rather basic question, in relation to the MCD43A4 006 NDVI dataset in GEE. I am aware of the methods used for the generation of the BRDF MODIS dataset, but I would like to know more details ...
0
votes
1answer
30 views

Clipping over an ImageCollection using another ImageCollection (Adaptive Clipping)

I need to clip over a Landsat ImageCollection using another ImageCollection which contains yearly crop masks extracted from MODIS Landcover Type (2001 to 2016). I need code that: clips the Landsat ...
0
votes
1answer
22 views

Docker Image: Atmospheric Correction in Earth Engine

Following https://github.com/gee-community/ee-jupyter-contrib/tree/master/docker/atmcorr-ee I was able to build and run docker. And to authenticate and git clone, but while: cd gee-atmcorr-S2/...
0
votes
1answer
26 views

Failed to decode JSON inside ee.ImageCollection.map while using ee.ReduceRegion() [closed]

Link to GEE Code I try to use this Function with ee.ImageCollection.map() var Fail = function(Im){ var min = ee.Image(Im.reduceRegion(ee.Reducer.min(),aoi).get('B10').getInfo()) var max = ee.Image(...
0
votes
0answers
15 views

How to upload ImageCollection from GEE to CloudStorage (Bucket) automatically Python/JavaScript [duplicate]

I have some ImageCollection with around 120 images in the GEE Web IDE. I want to upload them to a Google Cloud storage bucket. But it raises the Error: I think because the export function is only for ...
2
votes
1answer
27 views

Google Earth Engine Filter seasons independent from year

Is something like this possible? and how ? Image.Collection.filterDate('20xx-04-01','20xx-09-31')
0
votes
0answers
13 views

Exporting Feature Collection resulting from Spatial Join to .csv, flattening

I'm trying to export the results of a Spatial Join to a .csv. In this example, the join is the result of finding the closest point of Feature Collection B ("points") for each element of Feature ...
2
votes
1answer
53 views

Computation Timed out error when creating a cloud-free composite of Sentinel-2

I am trying to create a cloud free-composite that covers my ENTIRE study area using Sentinel-2 data. But, everytime I run this code, I get a Computation Timed out error. I am simply loading an image ...
2
votes
1answer
34 views

Reclassification of MODIS collection in Google Earth Engine

I want to reclassify the MCD43A4_006_NDVI collection and change all negative values into NAs. I have the following code but I am not sure how to do this. Any ideas? var geometry = /* color: #...
4
votes
2answers
45 views

Using Google Earth Engine to exclude upper 1% of data?

I would like to exclude the upper 1% of my Data ('VV' Band) because of noise reduction var s1_data = ee.ImageCollection('COPERNICUS/S1_GRD') var s1_grd_iw_vv_des = s1_data .filterDate(begin,end) ...
2
votes
1answer
68 views

Google Earth Engine scale definition and export

I am trying to download Global Surface Water (Pekel et al 2016) data from Google Earth Engine. It has a specified maximum spatial resolution of 30 [presumably meters]. When I export the data ...
0
votes
0answers
30 views

Calculate yearly mean/median in merged Landsat image collection

I want to calculate yearly (or monthly) mean/median/max for multiple image collections (Landsat4, 5, 7 and 8) for a certain area. This is what I did so far: I merged several Landsat image ...
0
votes
1answer
35 views

NDVI time series based on UI selected features

I am trying to create drop downs that will select features from a feature collection, and have each newly selected feature drawn on the map. I want to have three selectable variables then calculate ...
0
votes
1answer
18 views

Earth Engine - Why can't I add an imageCollection to a ui.Select()?

When I create an ImageCollection, I would like to select the images from a select box, and then load them onto the map when selected. var myImageCollection = ee.ImageCollection("LANDSAT/LC08/C01/...