Sunday, 1 November 2015

google earth engine - Exporting images in native CRS and resolution


When I use “Export.image.toDrive” command in Google Earth Engine it requests to define the scale and CRS of the raster. I did a search, but could not find clear solution for it.



Is there any possibility to keep native scale and CRS of the image while exporting it?



Answer



The scale and the CRS are optional when Exporting to Drive. By default, the CRS is the native one, and the resolution is 1000M per pixel. To set the native resolution:


var myScale = myImage.projection().nominalScale()


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...