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

Area measurements in Google Earth

Since Google Earth works in degrees, how does it perform area measurements? Does it momentarily convert to Cartesian coordinates and if yes by what projection and on which datum? Web Mercator has the ...
-2
votes
0answers
21 views

Google Earth Engine [on hold]

So, I have seven Landsat 8 32day NDVI composites and five polygons of different areas of interest. I need to calculate mean values within each polygon for all composites and export them in Excel ...
0
votes
1answer
25 views

Why can't I perform supervised classification using Landsat 8 SR images in Google Earth Engine?

This is the link to the code. https://code.earthengine.google.com/ba342d996547c4fa8151bc99052036cf This error message appears var ColecaoL8 = ee.ImageCollection('LANDSAT/LC08/C01/T1_SR'); var ...
0
votes
0answers
14 views

Filter out duplicate Sentinel-2 Images form Earth Engine Image Collection by date

I'm stacking all the images from Sentinel-2A from the L1C image collection, but when viewing the images beforehand, I see that there are duplicates images, same imaging date but different processing ...
0
votes
0answers
17 views

Stripes in TPI from SRTM 30 DEM

The TPI is calculated with a 150 to 300m annulus in Google Earth Engine. The underlying Elevation-Data from SRTM does not show such striped. I did use raw SRTM from GEE for elevation, no reprojecting ...
1
vote
0answers
15 views

Why is Earth Engine Export.map.toCloudStorage taking much longer than before?

I've created a script to identify the nth least cloudy mosaic for Sentinel-2 data for a given place and time. A few months ago, I was able to execute an Export.map.toCloudStorage for a visualization ...
1
vote
0answers
23 views

Truncated time series table output over multiple polygons using Google Earth Engine

I'm facing issue to export a CSV table of a time series from multiple polygons in GEE. Using few polygons it works well, but when I'm adding more polygons, the output is truncated. My CSV has Polygon'...
-2
votes
0answers
13 views

Seeking MODIS Point Collection with more specific Time Of Day for Google Earth Engine?

I am trying to find a more specific time of day (hourly data) for MODIS satellite imagery at specific feature points across the United States with Google Earth Engine, and I am only finding metadata ...
-1
votes
0answers
11 views

Getting Dynamic Output in single code using Google Earth Engine? [on hold]

I want to calculate NDWI for multiple years for a region. I want two outputs: Yearwise output Aggregated merged output Since the area is big, I wanted to calculate NDWI separately and then the ...
0
votes
1answer
26 views

Code working fine as long as not saved

I am recently facing a strange issue with my code in earth-engine. The moment i save it, it stops working and gives me a simple error of blahblah is not a funtion. But the same code works just fine as ...
-2
votes
0answers
18 views

Google Earth Engine-Why same code but output look slightly different?

I am trying to output a landsat ndwi image. The date of my first output is on 8/28. Today I used the exact same code to output same filterdate and everything, but output turns out slightly different. ...
2
votes
1answer
27 views

Align images with self-defined CRS in Google Earth Engine

I have uploaded a dataset to GEE and I want to align every image in the collection to have the same geographic extent as the first image of this collection. My code so far : var ref_image = ...
0
votes
1answer
38 views

Converting .map() from JavaScript API to Python API?

I wrote this code using the Earth Engine JavaScript API. The code clips the image collection using variable "table," which is a feature collection of about 12,000 points. I get the length of the image ...
0
votes
0answers
21 views

Exporting Ui.chart in Google Earth Engine?

I have a project where the user press on a district and then the app shows the temperature a s time series chart. I want to optimize all that calculation and save each chart instead of making the ...
1
vote
1answer
50 views

Why do original colors in GEE images appear in different colors?

I seek help to understand why colors that I specified in Google Earth Engine (GEE) do not appear in raster objects in R. Let me explain the processes that I have been going through. The following ...
0
votes
0answers
14 views

Long term landuse classification using Landsat and Google Earth Engine? [on hold]

I need to produce a landuse classification map for each year from 1984 to 2019 using Landsat data. I have classified the 2019 image using Google Earth Engine. How can I use the training data and code ...
-2
votes
0answers
14 views

No tasks appear [closed]

everyone why there are no tasks appear after I run the code?
0
votes
0answers
29 views

Export: Error: Internal error. from Google Earth Engine

I'm attempting to export an image by a time block for a particular census KML using the method below. Earth Engine is kicking back "internal error". As the error is not very helpful, I am having a ...
1
vote
1answer
36 views

Summarize Land use changes over time with Google Earth Engine

I'm trying to detect how many times land type has changed between 2001 and 2018 (inclusively). For example, suppose a pixel that was: Forest from 2001 to 2003 Bare ground from 2003 to 2010 ...
0
votes
1answer
20 views

Landsat image exported from Google Earth Engine not displaying correctly in ArcGIS [closed]

I have run a script to produce a land use classification clipped to my study site using google earth engine. However, when i export the classified image and open it in ArcGIS, the image is cut off at ...
1
vote
0answers
15 views

Performing Cayula Cornillon single image edge detection algorithm to detect ocean SST fronts in Google Earth Engine?

I am a newbie in programming. I am working with sst data to find ocean fronts in GEE, but to build the Cayula Cornillon algorithm as in the following paper. Cayula Cornillon. 1992. Edge detection ...
0
votes
0answers
19 views

Earth Engine - Create features for every unmasked raster cell

I have a feature collection of my AOI with patches of same soil classes. And I have a raster image with precipitation data with a cell size of 1000 x 1000 m. Now I try to create a feature collection ...
1
vote
1answer
32 views

CSV export date format in Earth Engine

When exporting a chart to CSV is there a way to configure the date to day month year (dd-mm-yyyy) format as it is difficult to convert the date in Excel for graphing? Sample of export: when using ...
0
votes
0answers
21 views

Adding properties values from dictionary to variables in Google Earth Engine?

I want to create separate variables from properties of dictionary object in Google Earth Engine. I been trying with object.get() but it prints that object.get() is not a function. //EXPORTAR var ...
2
votes
1answer
26 views

NDVI chart of sampled points

I'm working with Sentinel 2 satellite and I have sampled on the map 4 blue points indicating an irrigated areas, and other 4 red points for non-irrigated ones. Then, I have considered 4 collections, ...
1
vote
2answers
37 views

Printing a list element from a for loop in Earth Engine

I would like to generate a collection of the 3 least cloudy granules for each Sentinel-2 tile within the bounds of a particular shapefile. It seems that this will require a function that iterates on ...
1
vote
1answer
23 views

Is there a Post-classification Majority Analysis feature on Google Earth Engine (Similar to ENVI)?

In ENVI there's a Majority/Minority Analysis function that allows you to to change spurious/"wrongly classified" pixels within a large single class to that class (it also allows you to enter kernel ...
3
votes
0answers
23 views

Calling a function by its name in Earth Engine code-editor

I have a module where I process some raster images according to one of different functions/ statistical models. I am trying to find a way to allow the user to select which function to use. I have ...
0
votes
1answer
21 views

Google Earth Engine: Tasseled Cap Index calculation and extraction of the mean value for each polygon of a shapefile

I have been trying to use a shapefile consisting of bounding boxes of cities in order to extract the mean value of the tasseled cap vegetation index. I inserted the shapefile as a FeatureCollection ...
1
vote
1answer
32 views

Filter Sentinel-2 images base on cloud cover over a region of interest

I know that there are a lot of examples of how to mask clouds for sentiel-2 images, but what I want is sort the images over an area of interest without change anything of the image. Applying a cloud ...
1
vote
1answer
31 views

Understanding NOAA/GFS0P25 dataset of Google Earth Engine

I'm trying to get time-series data from NOAA/GFS0P25 data set on GEE. My code: var m2 = "NOAA/GFS0P25" var band1 = 'total_precipitation_surface' var data_collection = ee.ImageCollection(m2); var ...
1
vote
0answers
15 views

How do you retrieve image coordinates from Google Earth Engine Geometry?

My aim is to convert latitude/longitude coordinates of a GEE ee.Geometry.Polygon object into image coordinates. The boundaries of the image are given by another polygon. The image itself is a sentinel ...
1
vote
0answers
12 views

Calculate the annual mean NDVI for a region using the Maximum Value Composite

I first used the Maximum Value Composite to generate a annual NDVI for a watershed, and then calculated the mena NDVI for the entire basin. I don't know if this code is correct. In addition, I want ...
1
vote
0answers
31 views

Measured line distance very different in ArcMap than Google Earth

My question is about why Google Earth and ArcGIS have such dramatic differences when measuring a line-string. I have an approximately 30 mile trail in Butte County, Northern California. I measured it ...
1
vote
0answers
19 views

GEE Hypothesis Test for Regression Slope

I am using Google Earth Engine to calculate linear trends over time using the linearFit reducer. I am interested in identifying pixels that exhibit significant increasing and decreasing trends using a ...
-1
votes
0answers
19 views

Extracting pixel values from Earth Engine images

I'm trying to read the data point values that creates a given image from a dataset. I'm not interested in rendering visualisations, rather play with the number values behind each pixel. I hope this ...
-2
votes
1answer
45 views

Google Earth Engine: Use multiple bounding boxes to extract mean VI value

I am new to GEE with no prior Javascript knowledge. I am trying to find a way to use multiple bounding boxes (which are in bottom-left point x,y and top-right point x,y) from a csv file in order to ...
1
vote
0answers
19 views

Google Earth Engine: calculate number of weeks where SST over a threshold in past 12 weeks

I've been using the MODIS-Aqua/L3SMI dataset to investigate sea surface temperatures (SST) for a specific region. What I'd like to do is for a specific time epriod (could be day, week or month), find ...
0
votes
0answers
22 views

Surface area calculation in Google Earth Engine? index ratio simpe [closed]

I am trying to calculate the area of ​​a snowfall but by using the simple ratio index the value obtained is zero, someone knows that this is due url: https://code.earthengine.google.com/...
-2
votes
0answers
25 views

Exporting large size image from GEE?

When trying to export large size image, I got max pixel range error. Export.image.toDrive({ image: subresult.clip(roi), description: 'Result', scale: 30, crs:'EPSG:4326', maxPixels: ...
0
votes
0answers
21 views

Chart - trendlines - slope - NDVI - visibleInLegend: true - GEE

I am using the following code in GEE to calculate the trend line: ndviChart.setOptions({ title: 'NDVI (Sentinel 2)', vAxis: {title: 'NDVI'}, trendlines: {type: 'exponential', 0: {color: '...
1
vote
0answers
26 views

Google Earth Engine - Internal server error running analysis on long time series

I am trying to run a code on a 38 years time series of daily rainfall data. It works properly if I subset the dataset (ie: 2000-2018) but I got an error if I run the full time series: 1981-2018: ...
1
vote
0answers
25 views

Exporting random forest decision tree (or thresholds) Google Earth Engine

Is there any way to export/view the generated decision tree from a random forest classifier in Google Earth Engine? I know that classifier.explain() works for a CART classifier. Anything similar ...
0
votes
0answers
18 views

Landsat mosaic with minimum cloud cover over an area of interest

I'd like to create a mosaic with minimum cloud cover over an area of interest. I have done this by using the sort function to return the image with minimum 'CLOUD_COVER' value and am happy with the ...
0
votes
1answer
28 views

Reduce.region odd result in GEE, however the map seems to be correct

I'm using Google Earth Engine to calculate the 5th and 95th percentiles of the intraannual coefficient of variation (CV) of the NDVI within a polygon (my area of interest). My code actually runs and ...
1
vote
1answer
21 views

Earth Engine Image Zone Statistics (zonal stats)

I am looking at object oriented methods and wondered if there was a way of calculating image zone statistics (zonal stats) based on connected pixels. Essentially, I want to reduce the pixels in an ...
0
votes
0answers
18 views

Exporting result of a supervised classification from Earth Engine to drive

I am doing a supervised classification of an image in Earth Engine. I want to export the results of this classification to my drive var seed = 2015; var ft1 = ft.randomColumn('random', seed); var ...
3
votes
2answers
110 views

Removing clouds from Sentinel 2 Surface Reflectance in Google Earth Engine?

I am trying to get cloud masking to work properly with the 'COPERNICUS/S2_SR' surface reflectance dataset. I can get it to somewhat work with my code below using the TOA dataset 'COPERNICUS/S2'. ...
1
vote
1answer
24 views

Plot Ranges of NDVI Values With Different Colors in Google Earth Engine

I just perform a NDVI classification, and I want to know if I can plot or display the values of the NDVI in different ranges in the same image. For example, from 0.0 to 0.3 is 'blue', from 0.3 to 0.5 '...
2
votes
1answer
45 views

Accessing a ShapeFile with GoogleEarthEngine-API : Invalid GeoJSON geometry

I'm trying to download Sentinel-2 data of my area of interests on Google Earth Engine API for Python. I'm trying to access my shape file (contains 2 different polygons) on the API. I added the shape ...