Stack Exchange Network

Stack Exchange network consists of 175 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.

4
votes
0answers
355 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 ...
3
votes
0answers
533 views

How to visualize inundation using Sentinel 1 SAR Data?

I am trying to visualize flooding after hurricane Harvey that made landfall on August 25-26 2017. Based on this video, I've been able to obtain the basics of Sentinel-1 SAR imagery. Sentinel 1 comes ...
3
votes
0answers
45 views

Hansen loss and lossyear bands do not always match in Earth Engine

I'm looking at the Hansen forest loss v1.5 data in Earth Engine. According to the Hansen documentation, In addition, to reduce confusion, beginning with version 1.4 we are no longer releasing loss ...
3
votes
0answers
426 views

Querying with Large FeatureCollection in Google Earth Engine using Python?

I am trying to process a Tanzania shapefile downloaded from GADM Global Administrative Areas. # im -> {Image} ee.Image({...}) # self.geom_coll -> {FeatureCollection} ee....
2
votes
0answers
38 views

Earth Engine import record, why?

When I paste the following on EE online code editor then if offers me the option to convert to an import record. var l8sr = ee.ImageCollection("LANDSAT/LC08/C01/T1_SR"); var roi = /* color: #d63000 */...
2
votes
0answers
137 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 ...
2
votes
0answers
84 views

Sentinel 3 Cloud Masking in Google Earth Engine

I am new to GEE and I wanted to use this as part of my research. My first step was to mask the clouds off the images. The code i created basically mask out pixels based on the Quality Flag Bit 27, ...
2
votes
0answers
905 views

Earth Engine Sentinel-2 atmospheric correction

I want to run some time series analysis on sentinel-2 data in EE for my master thesis. However the algorithms for Sen-2 in EE are scarce. The biggest issue is that there isn't any for atmospheric ...
2
votes
0answers
68 views

Serverless geospatial data type conversion (similar to ogr2ogr)

Is it possible to run ogr2ogr or Python/Fiona in a serverless environment where each feature gets processed in parallel and where you don't have to specify the properties of a virtual machine upfront? ...
2
votes
0answers
889 views

Trying to map through and reduce regions of image using Google Earth Engine?

I'm working on building a model in google earth engine that will estimate carrying capacities for bird species based off of a table I have of bird densities per land cover type and an image of land ...
1
vote
0answers
30 views

Raster projected in Google Earth Engine showing weird values within R

I classified a raster in GEE and I am trying to work with the same within R. I have 7 land cover classes and when I view the output in R, I get something that does not make sense. Please see the ...
1
vote
0answers
22 views

Google Earth Engine: Masking land out of Sentinel-3 imagery

I'm trying to isolate ocean cover from OLCI imagery using a bitmask from the quality_flags band. But it's masking all the pixels, and I notice when I mask the ocean and leave the land, the land is ...
1
vote
0answers
26 views

Concatenating export path in Google Earth Engine

My goal is to store different exports from Earth Engine projects in separate subfolders of a main GEE_export folder on my Google Drive. I'm using Export.image.toDrive: Export.image.toDrive({ ...
1
vote
0answers
12 views

Extracting tree cover values from Hansen to feature collection using Google Earth Engine?

I would like to extract mean pixel value of treecover 2000 from Hansen from each geometry (polygon) of different shapefiles that I have import into Google Earth Engine (var table_comp). I create for ...
1
vote
0answers
14 views

Earth Engine Feature Collection to Image doesn't return values (can't work with Image)

I have a bunch of Polygons and build a Feature Collection out of them. For testing the only property of each Feature is "Code" with the value 3: import ee import geopandas as gpd ee.Initialize() ...
1
vote
0answers
21 views

Extracting certain landcover type in CONUS with Google Earth Engine?

I am new to Google Earth Engine and I would like to export the pixels with landcover type of deciduous broadleaf forest (MCD12Q1 with LC_Type1 equals to 4) in google earth engine. And the following is ...
1
vote
0answers
23 views

Performing supervised classification with Landsat 7 in Google Earth Engine

I am trying to perform landcover classification of Shanghai using JavaScript in Google Earth Engine. I am a complete beginner at this and I have been going through many tutorials trying to figure ...
1
vote
0answers
38 views

Filtering image collection using date and lat long from feature collection in Google Earth Engine?

I'm trying to use the JSON data that i have turned in a feature collection using this code: var dict = ee.Dictionary(JSONRAWDATA) // inspect the dictionary print(dict) // make some months var months ...
1
vote
0answers
24 views

Finding metadata for Fusion Table used in Google Earth Engine

I'm just starting to learn GEE, and I see a number of places use a Fusion Table that has polygons of world countries. It's used in the Google Earth Engine manual, tutorials, and questions on ...
1
vote
0answers
24 views

How to calculate residual sum of squares and standard error from linearFit model

I used the linearFit() reducer to get trend analysis for NDVI (dependent variable), and time (t) is my one independent value. What code can I use to calculate the residual sum of squares and standard ...
1
vote
0answers
26 views

Supervised Classification within the bounds of a FeatureCollection

I am a bit new to classification within GEE and was hoping to get some help regarding classifying within a specific region. var bands = ['NDVI']; var landSat = ee.Image(ee.ImageCollection('LANDSAT/...
1
vote
0answers
29 views

Importing 16-bit data into Google Earth Engine

I am trying to import 16-bit data into Google Earth Engine. I get this error. No data value 65536.0 cannot be applied to band #0 of type Integer<0, 65535>. No Data is 65536 I tell it that ...
1
vote
0answers
30 views

Conducting Land Cover Signature Classification on Google Earth Engine?

I was wondering if there is a way to conduct Land Cover Signature Classification, as specified on page 122 of the following user manual: https://buildmedia.readthedocs.org/media/pdf/...
1
vote
0answers
45 views

Getting 10 days period, max NDSI from MODIS/Terra 500m resolution daily product(MOD09GA)?

I want to make a NDSI with a ten days period from daily MOD09GA with Google Earth Engine. The code is a adaptation from this code from Nicholas Clinton at Maximum ndvi for 3 months average in Google ...
1
vote
0answers
29 views

Shrinking / expanding map area of Google Earth Engine online editor

I often shrink / expand the map area of Google Earth Engine online editor depending on what I'm doing, if coding or seeing the results. Are there shortcuts for these actions?
1
vote
0answers
67 views

Extracting time series from image collection in Google Earth Engine?

I tried to perform a pixel based time series change detection algorithm in GEE for a defined region, so i intended to extract every pixel time series values into something like a table or matrix, and ...
1
vote
0answers
66 views

Difference between GEE and sklearn random forest output

I am training a random forest in GEE to predict canopy cover. See here for example. Implementation of RF is var rf_model = ee.Classifier.randomForest(5).train(to_TrainAll, target, bands); My ...
1
vote
0answers
27 views

Linear Regression on single image with multiple bands in Google Earth Engine

I have a single image with 3 bands representing different properties for water detection and a 4th band for reference (ground truth - water/no-water). I want to perform a linear regression using the 3 ...
1
vote
0answers
10 views

How to print EE ui.Chart to to file?

May be the first question is, can I print ui.Chart to file, e.g. PNG? And then how? Here is what I tried https://code.earthengine.google.com/4fef1d985ce0727c1f83226fbc5417fa
1
vote
0answers
30 views

Removing pixels in band using an inequality in Google Earth Engine?

My current code: https://code.earthengine.google.com/5ff735e22e894a6c1b5ddc628cfccae7 I have an inequality from line 99-106. I want this inequality to assign a value of 1 to all pixels that satisfy ...
1
vote
0answers
23 views

How to change location of Google Earth Engine control?

I want to have the layer selection on the left instead of on the right, because on SplitPanel, the left map's layer selector gets hidden unless you wipe all the way to the right. I know that it is ...
1
vote
0answers
27 views

Altered projection in Google Earth Engine, how to correct?

When I create a collection (named here geeCol) using Google Earth Engine, the projection displayed by geeCol.first().projection().getInfo() returns: {'type': 'Projection', 'crs': 'EPSG:4326', '...
1
vote
0answers
21 views

Using Interactive Overlay to Export Geographic Coordinates

I can barely spell JavaScript, but I have envisioned an application working with or embedded in Google Earth that employs the following work flow: This application is intended on working at scales of ...
1
vote
0answers
28 views

How can I access the user's location in my Google Earth Engine script?

I'm working in Google Earth Engine and I want to access the user's location to then be able to use the position when visualizing data layers. When running the code below, GEE doesn't seem to be able ...
1
vote
0answers
25 views

Why are there holes in the resulting map of median reflectance values from Sentinel2 imagery on GEE?

I don not understand why are there holes in the resulting map of median reflectance values from S2 imagery on GEE and how do I fix it? Also, why are all the clouds not getting masked? //Function for ...
1
vote
0answers
52 views

Earth Engine: Function to generate daily image collection from 3 hourly

I am working with GLDAS-2.1 image collection. I would like to generate a daily image collection with max temperature, min temperature, mean temperature and sum temperature for each day from 3 hourly ...
1
vote
0answers
59 views

Calculate cloud free median value for landsat 5, 7, 8 image collections in GoogleEarthEngine

I have an image collection of Landsat 5, Landsat 7 and Landsat 8 images. I want to calculate the median value of my image collection. Before that I want to exclude all cloudy pixels of my collection, ...
1
vote
0answers
162 views

Nonlinear regression in Google Earth Engine on each pixel in an image collection using GEE's servers

I am attempting to optimize the parameters for a double-logistic function on an annual MODIS NDVI time series in Google Earth Engine. I have previously looked at Non Linear Regression in Google Earth ...
1
vote
0answers
91 views

Supervised classification with only one class with Google Earth Engine

I am a beginner with geospatial analysis and Google Earth Engine. I am trying to classify only one class of Landsat 5 image (swimming pool). I got several training sites and applied the classifier. As ...
1
vote
0answers
74 views

Google Earth Engine script: runs forever without errors but never downloads the .tif file

I am trying to download a base map of California from Google Earth Engine using this code: // Define boundary box var region = ee.Geometry.Rectangle(-124.5,31.3,-110.5,39.8); // minX, minY, maxX, ...
1
vote
0answers
226 views

Classifying image using image segmentation in google earth engine

I am trying to classify a Landsat 8 image in google earth engine. I have to classify them object based, since I am building on an earlier research where they have used object based classification. ...
1
vote
0answers
42 views

Get a large area landsat 8 metadata from earth-engine

Obviously the code below will returned null because there's no picture in landsat 8 will contain such a large area. #python geometry = ee.Geometry.Polygon( [[73.0, 25.0], [73.0, 49.0], ...
1
vote
0answers
117 views

Google Earth Engine - counts days of the longest dry period in a time period

I'm trying to map the max number of consecutive days with rain <1 mm in Google Earth Engine. This is the link to the full code in GEE, you can see and run it https://code.earthengine.google.com/...
1
vote
0answers
135 views

Using output of unsupervised cluster analysis to train supervised classification for vegetation mapping?

I'm using Google Earth Engine to classify mangrove forests from Landsat imagery to calculate extent. Let's say I perform an unsupervised K-means cluster analysis on a Landsat scene to identify general ...
1
vote
0answers
101 views

Dimensions of images given their latitude and longitude for Google Earth Engine

From the point long: 16.499050771335575, lat: -30.882 I want to find the corresponding latitude and longitude values that would result in a 200 km by 200 km square in which the aforementioned ...
1
vote
0answers
80 views

Collection properties are lost when exporting in google earth engine

I have a general confusion over the 'id' field and how it is set and change in GEE, but I faced another strange thing: The collection properties are lost when exporting in GEE! I tried below sample ...
1
vote
0answers
107 views

Reducing image collection separately for each image to make series?

I know how to reduce a collection to one image, or an image to a value in Google Earth Engine. But I can not find an easy way to reduce each image in a collection to a statistics and get a list of ...
1
vote
0answers
548 views

Creating a area time series chart on Google Earth Engine

I'm using Google Earth Engine for a article on my university, and I wanna get the evolution of water area of an water body of my region. For that, I'm using NDVI on time series on GEE. I got the NDVI ...
1
vote
0answers
289 views

Extract pixel values at given point dataset and if masked find the nearest pixel value

I need to extract the values at each pixel foe a feature collection from an image and if they are masked the value at nearest pixel, my feature collection is named table and the image collection I am ...
1
vote
0answers
171 views

Deploy Google App Engine app for Google Earth Engine

Basically, an app from Google App Engine makes a request to Earth Engine (server to server basis) then renders this image to a web page. In my case, it requested SRTM data: mapid = ee.Image('...