Questions tagged [google-earth-engine]
Google's cloud computing platform for geospatial data & analysis at earthengine.google.com.
4,294
questions
0
votes
1
answer
11
views
Calculating MODIS EVI feature collection but not landsat
I'm not sure why I am able to calculate the median EVI for MODIS but not for Landsat. I can see the time series of Landsat EVI values in the Inspector panel for a single pixel but when I export I get ...
0
votes
0
answers
18
views
Extracting NDVI values of specific pixels, creating monthly averages and plotting a line chart
I have points in form of a shapefile which I have imported in google earth engine intending to get the pixels overlapping with these points and then extracting their NDVI values and finally plotting a ...
0
votes
0
answers
11
views
How to find multiple peaks in an NDVI time series in Google Earth Engine? [closed]
I have taken one year NDVI time series data and I need to find the number of peaks in NDVI per pixel wise for an agricultural area to map the cropping intensity pattern i.e. 3-crops or 2-crops or 1 ...
0
votes
0
answers
24
views
GEE: How to make the visualization parameters box visible in google earth engine apps
I can find the visualization parameters box in the code editor. But, after export to application, it disappeared. I guess I can solve using ui.Map. What ui.Map add can solve this problem? After ...
0
votes
0
answers
13
views
GEE - Reducing a multi-band image for non-zero pixels and don't need the bands
I would like to calculate the area of all non-zero pixels of an image but don't care about keeping the (12) bands. When i try to run the program as is, it gives an error saying too many concurrent ...
1
vote
0
answers
63
views
Google Earth Engine plug-in (for QGIS): Authorization error
I have installed the GEE plug-in for QGIS and I am struggling to even get beyond authorisation at the moment. I have an active GEE account to use the plugin. Posted below is the Authorization Error ...
-2
votes
1
answer
15
views
I'm trying to view four windows in Gee; everything is perfect, but my ui.Map.Linker doesn't work
// set image
var image = ee.Image("LANDSAT/LC8_L1T_TOA/LC81260452014268LGN00");
// function to create map 1
function createMap1() {
var map = new ui.Map();
map.addLayer(image.select(['...
-1
votes
0
answers
16
views
Reproject Google Earth Engine Nearest Neighbour
I’m trying to resample all the bands of the image. However, I have read that if you want to resample an image by the use of NEAREST NEIGBOUR, you have to used .reproject method.
https://developers....
0
votes
0
answers
22
views
Primary geometry of feature '0' has 1991613 vertices, above the limit of 1000000 vertices in GEE
I'm trying to import a shapefile in Google Earth Engine that I have created in ArcMap. But after running (starting to ingest asset.) for ~6 minutes the task is failing with "Error: Primary ...
0
votes
0
answers
16
views
Earth Engine: Change missing areas value(0) to other in Google Dynamic World Landcover Yearly Mode Mosaic to not mix with water class (also 0)
When I create a yearly mode mosaic using Google Dynamic World Landcover Data, the areas with missing landcover values especially in high Himalayan regions(perhaps due to the 35% cloud threshold) are ...
0
votes
0
answers
11
views
A function of geemap not working in Google Colab environment
Eecently I have started to write code on Google Colab. I wanted to continue my geemap analyses from there but I could not make use of the function properly. I will show you my lines of code below:
...
0
votes
1
answer
24
views
Using if/else statement in Google Earth Engine JavaScript API
I am studying because I want to publish my results through Google Earth Engine. Regarding the usage of if / else and ee.Algorithms.If(), I don't understand why both true case and false case work.
As ...
0
votes
1
answer
15
views
0 element in image collection in Google Earth Engine
var roi =
/* color: #d63000 */
/* displayProperties: [
{
"type": "rectangle"
}
] */
ee.Geometry.Polygon(
[[[112.01637668750301, 30.256437069990916],
[112....
0
votes
1
answer
32
views
r Terra Mosaic Raster uses huge amounts of memory and takes too long - any alternatives?
I built a process using google earth engine code editor to output a raster of urban land cover in Wisconsin. Google exports these as 210 shard which are geotiffs ranging from 2-100mb in size. Most are ...
0
votes
1
answer
22
views
No training data found (random forest algorithm in GEE)
I was trying to map rice in the Indramayu Regency in Indonesia using the random forest algorithm. It has responded with no training data found.
When I used the same code previously for a different ...
-1
votes
0
answers
8
views
Calculate area using a threshold mask and plot a time series in Google Earth Engine
I was trying to mask my NDSI pixels with values less than 0 and then calculate the area of snow (square kilometer) in the area of interest and plot a time series chart for the selected time range from ...
1
vote
1
answer
29
views
ReduceRegions "Image.reduceRegions: Computed value is too large. (Error code: 3)" in Google Earth Engine
I'm trying to extract about 100000 datapoints with several bands in composite using Image.reduceRegions but I'm getting this error when I tried to export as CSV:
Error: Image.reduceRegions: Computed ...
0
votes
0
answers
25
views
GEE : Memory exceeded when plotting time-series at different regions
I'm trying to plot Sentinel-2 time-series at three different regions following the tutorial: https://developers.google.com/earth-engine/guides/charts_image_collection
// Reference data (ground truth) ...
0
votes
1
answer
33
views
Exporting image collection keeping the image dates as band name in GEE
I am trying to save 6 years daily MODIS data in a single image with multi bands.I specifically want the dates as band names.I have been tring to run this script but the page crashes or becomes ...
0
votes
1
answer
30
views
GEE: How can I code this more simply?
I want to make a long-term period selector and need more selectors, not just one.
So, I made each label and value in items and copied them.
I want to know if there is a more efficient method.
Please, ...
-3
votes
0
answers
22
views
Line 23: FeatureCollection is not defined [closed]
var Wilaya = ee.FeatureCollection("users/becologie1/DZA_adm1");
// Select the wilaya of Batna
var Zone = Wilaya.filter(ee.Filter.eq("name_1", "Souk_Ahras"));
print(Zone);...
1
vote
1
answer
30
views
Classify is not function using Google Earth Engine JavaScript API
I'm trying to classify NAIP imagery for HUC0801 subregion using random forest classifier on GEE.
var water = /* color: #003dd6 */ee.FeatureCollection(
[ee.Feature(
ee.Geometry....
1
vote
1
answer
30
views
Convert a List into Feature Collection in Google Earth Engine
I'm trying to convert a list into a Feature Collection in Google Earth Engine in order to export as CSV file. I'm getting this error
FeatureCollection (Error)
Collection, argument 'features': Invalid ...
1
vote
1
answer
34
views
Data extraction from imagery in Google Earth Engine using neighborhoodToArray
I am new to Google Earth Engine and I'm working with a dataset contained multiple points with lat/lon coordinate. I want to query these points and extract the band value in the form of 2D array of ...
1
vote
1
answer
18
views
Fixing"FeatureCollection (Error) Image.reduceToVectors: First band ('rh100') of image must be integral"
I am trying to extract the datapoints from GEDI collection and choose the points which lower than 60 in Google Earth Engine by using ReducetoVector. I'm getting this error:
FeatureCollection (Error) ...
-1
votes
0
answers
11
views
Layer error: No valid training data were found when using ASTER L1T radiance dataset [closed]
I'm just try to classify my roi using aster data error occurs.
https://code.earthengine.google.co.in/17a00815f324dc49fd9650dec468f11b
0
votes
0
answers
23
views
Using canny edge detection for Sentinel-2 image in Google Earth Engine [closed]
I try to use Canny edge detection method (reference guide) to process Sentinel-2 image.
But I get the following two problems.
When I just select one band, the result map is empty (no error, but ...
0
votes
1
answer
34
views
GEE: How to add same panel each Maps?
I'm making multiple panel apps in Google earth engine.
Could you tell me what methods are available to make the code below?
var label1 = ui.Label({
value: 'title',
style: {fontWeight: 'bold', ...
0
votes
0
answers
23
views
Calculate leaf area index with Landsat 5, 7 and 8 as time series with Google Earth Engine [closed]
I want to calculate the leaf area index in time series with the Landsat 5, 7 and 8 satellites in my forest area between 1989 and 2020 in the summer with Google Earth Engine.
To do this, I determined ...
1
vote
0
answers
19
views
How to rasterize a featurecollection in GEE
I'm trying to transform the list of administrative level 1 defined in the FAO GAUL dataset into a Image using Google Earth Engine.
I bump into the following error :
image: Layer error: Image....
1
vote
1
answer
34
views
Why my LST code for L5 given high temperaure result?
I am using landsat 5 for LST analysis. My major focus is water temperature. I am using the following code:
https://code.earthengine.google.com/3dfd6eb7af4e01cc9c8cf438dd6f80fd
// This example ...
0
votes
0
answers
13
views
Enabling scrolling without holding control using Earth Engine App
Is there any way to make it so an Earth Engine App allows the user to scroll in/out on the map without having to hold control?
0
votes
0
answers
14
views
Is it possible to run road network analysis or proximity analysis on Google Earth using python or colab? [closed]
I am student working on distribution of tourist sites in Nigeria.
I am new to coding (Python and colab).
I am seeking someone who can guide me through it.
Is it possible to run road network analysis ...
2
votes
1
answer
20
views
Layer error: Image.constant: Parameter 'value' is required
I've had this error come up. Unfortunately the answers to similar questions on stack exchange are not applicable to my particular script.
I'm trying to account for sunglint so that I can improve my ...
1
vote
1
answer
20
views
Extraction of time series simultaneously on different radius bufferpoint on Google Earth Engine
I have this code that extracts the monthly time series of soil moisture, on radius defined by the buffer function:
function bufferPoints(radius, bounds) {
return function(pt) {
pt = ee.Feature(...
0
votes
0
answers
24
views
Remove pixel patches according to patch size
Is there any way to remove pixels from a classified image? For example, I made an NDVI classification in Google Earth Engine Code Editor and I only want to have the classified areas with an area ...
0
votes
1
answer
37
views
Layer error in Google Earth Engine
I've had this error in Google Earth Engine trying to correct for sunglint in order to remote sense seagrass.
The error reads as such:
Sunglint Corrected: Layer error: Image.reduceRegion: Too many ...
2
votes
1
answer
25
views
Google Earth Engine: extracting pixel values at points from a shape file and creating a table with extracted pixel values and associated point IDs
this is my very first time working with the GEE and I have tried now for over 2 weeks to write my own code for this, but I'm pretty desperate with it - it just doesn't work.
I have a shape file with ~...
0
votes
0
answers
21
views
Cannot access access NICFI Data in Google Earth Engine - settings section in planet account missing
I am trying to use the NICFI Data in Google Earth Engine. I signed up with Planet as described here: https://developers.planet.com/docs/integrations/gee/nicfi/
However, to access the data I have to ...
1
vote
1
answer
16
views
GEE: Structure Insensitive Pigment Index time series for multiple polygons
I am trying to calculate the Structure Insensitive Pigment Index (SIPI) using MOD13Q1.061 Terra Vegetation Indices 16-Day Global 250m. More specifically, I would like to get a time series for multiple ...
1
vote
1
answer
21
views
How can I display the ID of each image in an Image Collection (Sentinel-2 Level 2A) in Google Earth Engine
I need to work with Sentinel-2 MSI: MultiSpectral Instrument, Level-2A collection in Google Earth Engine, but I need the ID (according to the naming convention in this format: ...
0
votes
0
answers
19
views
Getting unexpected values using the COPERNICUS/S2_CLOUD_PROBABILITY
I have been trying to download some cloud probabilities using the COPERNICUS/S2_CLOUD_PROBABILITY Dataset. It is specified that the images downloaded are in the range of [0...100] on uint8. However ...
1
vote
1
answer
22
views
Google Earth Engine finds Sentinel-3 images with no intersect with defined ROI
When I search for Sentinel-3 images that have been captured over a small lake, GEE returns images with no intersect with defined ROI. This behavior is just observed when searching for images captured ...
0
votes
1
answer
23
views
Using values of a groups of objects to create an image in GEE
I have calculated the 90th percentile for each class of land cover using the reducer ee.Reducer.percentile([90]).group
The result is a group of objects and I don’t know how to use it.
I would like to ...
-1
votes
1
answer
71
views
Identifying bare soil in agricultural areas using NDVI and Bare soil index in Google Earth Engine
I use sentinel 2_SR to identify bare agricultural soils over a time series from 2017 to 2020. the idea is to use a mask with the treshold NDVI < 0.2 and Bare soil index > 0.3 to obtain the ...
1
vote
1
answer
29
views
Land Surface Temperature in GEE: ,Creating a Chart with correct values
I have this code below for creating an LST for my region. Then, I create a chart with the mean values. But code gives the LST values in the chart in negative from the range -250 to -293. Now I do not ...
0
votes
0
answers
32
views
Cumulative Cost Mapping- All values are zero
I am trying to calculate cumulative cost of my own area. Here is the script:
import ee
import geemap
ee.Initialize()
Map = geemap.Map(center=[41, 29], zoom=9)
dataset_jpr = ee.FeatureCollection('...
-1
votes
0
answers
26
views
Can we use Maximum likelihood method for image classification?
I want to use the maximum likelihood method for classification, but I can not find the command could you please help me to find the right code?
1
vote
0
answers
28
views
True color (RGB) is not created with Landsat5(TM) images
The true color (RGB) is not created with the Landsat5 image.
I downloaded the TM video of Landsat5 from the USGS (earth explorer). I have videos from 1985 and 1986.
"...
0
votes
0
answers
20
views
About seasonal fluctuation of NDVI using GEE
Purpose:I would like to use GEE to check where the vegetation index is increasing from winter to summer.
The median value is calculated for December-February in winter and July-September in summer, ...