Questions tagged [google-earth-engine]

Google's cloud computing platform for geospatial data & analysis at earthengine.google.com.

Google Earth Engine combines a multi-petabyte catalog of satellite imagery and geospatial datasets with planetary-scale analysis capabilities and makes it available for scientists, researchers, and developers to detect changes, map trends, and quantify differences on the Earth's surface.

5680 questions
10
votes
1 answer

Tile error: Expected a homogeneous image collection, but an image with an incompatible band was encountered

It is a very simple script, but I cannot figure it out. The script is to create a list containing the constant images from 0 to 32, and then display them. var test = ee.List.sequence(0,32).map(function(i){return ee.Image.constant(i);…
Cliff Zhang
  • 145
  • 1
  • 10
10
votes
3 answers

Get Earth Engine Object Type

For debugging it would be great to figure out which EE object type an object is. Example code which adds a buffer to a point in a random area: var polygon = ee.Geometry.Point([0,51.477]).buffer(10000); // a circle in London var random_points =…
Joooeey
  • 525
  • 7
  • 15
9
votes
2 answers

Exporting Geometry Collection as Shapefile on Earth Engine

I have a FeatureCollection that I cannot export as a shapefile on Earth Engine — I get the following error: Error: Shapefiles cannot contain multiple geometry types; found 'LineString', 'Polygon'. This is the export code: Export.table.toDrive({ …
Julia R.
  • 137
  • 1
  • 4
9
votes
1 answer

GEE - reduceRegions for an image collection

I am relatively new to Google Earth Engine, currently working on finding mean NDVI for command areas of different tube wells in my study area. What I have done so far is: Filtered L8 image collection for the months of Jan and Feb for…
NOUFA
  • 103
  • 1
  • 4
9
votes
1 answer

Selection of only monthly data on Google Earth Engine?

Can you suggest an approach to select January Landsat 5 data between 2000 to 2010 and calculate its mean? In other words, the mean of the all January images from 2000 to 2010.
P_P
  • 101
  • 1
  • 1
  • 4
8
votes
2 answers

Removing property from Feature (or FeatureCollection) using Google Earth Engine?

How do I remove a property from a Feature (or FeatureCollection), by only specifying the name of the properties I want to remove? I know I can "remove" by selecting only properties I want, but in my case it is quite cumbersome... For the minimal…
Matifou
  • 2,011
  • 1
  • 21
  • 43
8
votes
2 answers

Add/display all images of mycollection in google earth engine

I started with GoogleEngine recently and I was wondering how I can display all images of my collection as layers. I guess there is a better way than manually copy past / typing: var img1 = ee.Image('COPERNICUS/.....); var img2 = ....; var imgx =…
Andreas Eugster
  • 177
  • 3
  • 8
8
votes
1 answer

Add a date (day of year) band to each image in a collection using Google Earth Engine

I would like to add a date (day of year)band to each image in a collection. This will be used as a variable in supervised classification of sentinel-2 imagery along with peak NDVI. I built a function to add the date band that makes sense to me but…
Kevin
  • 451
  • 1
  • 6
  • 13
8
votes
4 answers

Selecting every image of collection using Google Earth Engine?

I am currently working on google earth engine and I have created an image collection with 15 images in it. What i want to do is to create an image for every single image in my collection. I was able to create an image for the first image of my…
Étienne
  • 83
  • 1
  • 1
  • 3
7
votes
1 answer

Google Earth Engine: label objects on map

In my Google Earth Engine script, the user can click on a point on the map, and then a time series history chart of that pixel value is displayed in the console. However, after the user has clicked on a few points, it's not clear anymore which chart…
Joooeey
  • 525
  • 7
  • 15
6
votes
1 answer

Filter Sentinel-2 Image Collection for many tiles

I used the code snippet below to filter a Sentinel-2 S2_SR collection by metadata (S-2 Tile). This snippet helped me to obtain imagery that covers the Tile 32UQC. Now I would like to get a Sentinel-2 Collection for the following Tiles: 32UPU…
almrog
  • 169
  • 6
6
votes
1 answer

Google Earth Engine: Adding raster assets. How long can the ”Asset ingestion” take in Earth Engine after a successful upload?

I am trying to add a relatively large raster dataset (single band data, 8.05 GB GeoTiff, semi-global coverage) as an asset to Earth Engine through the web interface. The upload succeeded, but now the status of Ingest image in the Tasks toolbar has…
6
votes
1 answer

Using FeatureCollection to mask an image in Google Earth Engine?

I want to classify crop types using Sentinel-2 image in GEE. Before starting the classification, however, I want to update the mask of the image, so that water, urban areas, forest and other non-arable land is masked. For that purpose I uploaded a…
ABC
  • 341
  • 3
  • 12
6
votes
1 answer

Getting geometry properties of an ee.Image?

I try to extract the centroid of an ee.Image, as follows: ee.Initialize() image = ee.Image('LANDSAT/LC08/C01/T1/LC08_044034_20140318')\ .geometry()\ .centroid()\ .getInfo() # {'coordinates': [-122.14451407746256,…
6
votes
1 answer

Combine two image collections into one Image collection Earth Engine

I am very new to GEE and I'm even having difficulties deciphering other people's potential solutions. After processing each data source into one imageCollection each, I am trying to make a simple calculation between these two. One of the ideas that…
1
2 3
68 69