Questions tagged [google-earth-engine]

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com, which can be programmed using either Python or JavaScript client libraries.

Earth Engine has client libraries in both and .

807 questions
1
vote
2 answers

How to clear Tasks of Google Earth Earth Engine?

Need help to clear Tasks of GEE(Google Earth Engine), but due to hit and trial many new tasks file has been created. Even I tried to browse any existing code but unable to find that, so please help me and sorry for the inconvenience!
shanti
  • 57
  • 1
  • 8
1
vote
1 answer

Google Earth Engine multiple filters on date

Using Google Earth engine API, I can filter the start and end date of a satellite data. In this code for example, I can retrieve ASTER information between January 1st 2018 to July 15th 2018. var dataset = ee.ImageCollection('ASTER/AST_L1T_003') …
aminrd
  • 4,300
  • 4
  • 23
  • 45
1
vote
1 answer

Error while trying to code in Google Earth Engine using Javascript

I got this code but when I run it gives error message "L8" is not defined in this scope. in , line 11 in , line 30 The code I'm using is like this var RGB_vis = {min: 0, max: 0.3, bands: ['B4', 'B3', 'B2']}; var filtered =…
RoboData
  • 27
  • 4
1
vote
1 answer

imageCollection().filterBounds() is not showing results from geometry input

I'm trying to use filterBounds on an ImageCollection using the geometry function taken from a FeatureCollection but no changes appear. I don't understand why it won't work as I'm passing the geometry into filterBounds. import geemap import ee Map =…
prime90
  • 889
  • 2
  • 14
  • 26
1
vote
1 answer

How to export a csv file from Google Earth Engine with attribute data and associated dates in a user defined date format?

Good Day I am trying to generate an Enhanced Vegetation Index (EVI) in Google Earth Engine using Landsat 7 and 8 data. I have compiled the code below to filter the image collections, for a specific time period and region of interest, as well as to…
1
vote
0 answers

How to visualize and export the output of ee.Algorithms.TemporalSegmentation.Ccdc?

I am trying to visualize and export the output of ee.Algorithms.TemporalSegmentation.Ccdc, but all my attempts have failed. see my code for a working example. My goal is to get (export and visualize) all the outputs as multi bands image(s), so that…
Liman
  • 1,270
  • 6
  • 12
1
vote
0 answers

How to interpret "nearest source location" in the cumulativeCost-function of Google Earth Engine?

I am wondering what the documentation of cumulativeCost() in GEE exactly means by "nearest source location". "nearest" in terms of "the closest starting pixel, linearly computed" or "nearest" in terms of "the closest in terms of cumulative cost"…
Lui
  • 13
  • 4
1
vote
1 answer

Cannot configure rgee R package properly with ee_install()

I've searched for tutorials to help configure the package in my PC, and I've found this one: https://www.youtube.com/watch?v=_fDhRL_LBdQ I executed every part of the code interactively with the tutorial, but when I run ee_install() (after installing…
1
vote
0 answers

PCA for Sentinel2 SVM and RF classification

I am attempting to classify dump pile in google earth engine. Using Sentinel 2 data and classifying the first 5 PCAs lead to the best visual result. Here the PCA code used in script with Sentinel2. Is there a way of iteratively testing SVM…
Philipp R
  • 598
  • 6
  • 22
1
vote
1 answer

How to apply a code built for arrays to an image collection after using .toArray()?

I’ve found a great code which is built for finding peaks in arrays, which print the result in the console (Finding peaks and troughs in time series data in a 1D array - Javascript) . I would like to apply it on each pixel of an 8-day NDVI image…
1
vote
1 answer

what should I do with geemap library map illustration?

I am using geemap on my project but the map which came up it is not like the one presented in the documentation and does not provide the icon that helps to select layers. what should I do? Map = geemap.Map() Map what it shows: What it supposed to…
1
vote
0 answers

GEE supervised classification from Sentinel-2 with shapefiles

I am a beginner in GEE and I have a problem with making supervised classification from Sentinel-2 data. I used my pre-made shapefiles in five categories as training data. I tried more codes but the classification doesn't work. I don't know if it is…
1
vote
1 answer

Converting GEE script to be used with rgee

I am attempting to run a script written for Google Earth Engine within Rstudio using the rgee package. I don't really know anything about Javascript and converting it to work within r has basically been a bash my head against a wall until something…
Mike D
  • 27
  • 4
1
vote
1 answer

Calculating loss area of elevation classes in Google Earth Engine

I would like to calculate the loss area in a certain elevation class in GEE. When I run code 1 below, it gives the same amount as the total loss area in my study region, code 2. I switched arealoss and class3 in code 1 as well, and didn't work.…
1
vote
0 answers

How to run an expression to a image collection in google earth engine

// Convert the image List to an ImageCollection. var lsCompCol = ee.ImageCollection.fromImages(lsCompList); print('finaldataset',lsCompCol); Map.setCenter(72.91,19.13); var lsCompCol = lsCompCol.select( ['B2_median', 'B3_median',…