I am trying to export Google Earth Engine images to Google drive using Google Earth Studio provided by the platform. There is an official guide to export images as following
// Load a landsat image and select three bands.
var landsat = ee.Image('LANDSAT/LC08/C01/T1_TOA/LC08_123032_20140515')
.select(['B4', 'B3', 'B2']);
// Create a geometry representing an export region.
var geometry = ee.Geometry.Rectangle([116.2621, 39.8412, 116.4849, 40.01236]);
// Export the image, specifying scale and region.
Export.image.toDrive({
image: landsat,
description: 'imageToDriveExample',
scale: 30,
region: geometry
});
Above code works to export image, But I need to export images of specific coordinates so instead of
var landsat = ee.Image('LANDSAT/LC08/C01/T1_TOA/LC08_123032_20140515')
.select(['B4', 'B3', 'B2']);
I am using following code,
var landsat = ee.ImageCollection("LANDSAT/LT05/C01/T1_SR")
var point = ee.Geometry.Point([73.0479, 33.6844]);
code executes successfully but when I try to run the task to complete the process I get following error,
A mapped function's arguments cannot be used in client-side operations
Can someone help me, what am I doing wrong here? Thank you