Google earth Engine ... 将图像导出为 ascii

Google earth Engine ... Export images as ascii

是否可以从 Google Earth Engine 将图像导出为 ASCII 光栅

Export.image.toDrive({ 图片:'image', 地区:地区, 规模:30, crs: 'EPSG:4326', });

不,不是。目前唯一支持的输出格式是 GeoTIFF 和 TFRecord。 https://developers.google.com/earth-engine/apidocs/export-image-todrive

效率不是很高,您可以对像素进行采样并将其导出为 CSV。

// Define Region of interest
var roi = ee.Geometry.Polygon(
        [[[11.304653628407992, 42.60010798357459],
          [11.304653628407992, 42.40673200589496],
          [11.605404360829867, 42.40673200589496],
          [11.605404360829867, 42.60010798357459]]], null, false);

// get L8 image
var l8 =  ee.ImageCollection("LANDSAT/LC08/C01/T1_TOA")
          .filterBounds(roi).filterMetadata('CLOUD_COVER','less_than',5).first()

// add Lat/Lon
var ll = ee.Image.pixelLonLat()
var proj  = l8.select('B1').projection()
var image = l8.addBands(ll.reproject(proj)).clip(roi)

// sample the image
var p = image.sample({region:roi, scale:30, projection:proj})

// Display
Map.addLayer(image)

// Export to CSV file
Export.table.toDrive({collection:p, description:'points', fileFormat:'CSV'})