如何从google earth engine下载图片集?
How to download Image collection from google earth engine?
我想将此合集中的每张图片保存到我的驱动器中。
var filtered_Image=ee.ImageCollection('LANDSAT/LC8_L1T_TOA')
.filter(ee.Filter.eq('WRS_PATH', 138))
.filter(ee.Filter.eq('WRS_ROW', 45))
.filterMetadata('CLOUD_COVER','less_than',20)
.filterDate('2017-01-01', '2017-06-31')
.select(['B2', 'B3', 'B4']);
尝试this
从进口中选择您感兴趣的geometry/point。
var batch = require('users/fitoprincipe/geetools:batch');
var filtered_Image=ee.ImageCollection('LANDSAT/LC8_L1T_TOA')
.filterBounds(POI)
.filter(ee.Filter.eq('WRS_PATH', 138))
.filter(ee.Filter.eq('WRS_ROW', 45))
.filterMetadata('CLOUD_COVER','less_than',20)
.filterDate('2017-01-01', '2019-12-31')
.select(['B2', 'B3', 'B4']);
Map.setCenter(88, 21, 7);
var vizParams = {
bands: ['B2', 'B3', 'B4'],
min: 0,
max: 0.5,
gamma: [0.95, 1.1, 1]
};
Map.addLayer (filtered_Image.first(), vizParams, 'false color composite')
batch.Download.ImageCollection.toDrive(filtered_Image, 'Landsat8', {
name: 'filtered_Image_{system:index}',
type: 'float',
scale: 30,
region: POI
});
我想将此合集中的每张图片保存到我的驱动器中。
var filtered_Image=ee.ImageCollection('LANDSAT/LC8_L1T_TOA')
.filter(ee.Filter.eq('WRS_PATH', 138))
.filter(ee.Filter.eq('WRS_ROW', 45))
.filterMetadata('CLOUD_COVER','less_than',20)
.filterDate('2017-01-01', '2017-06-31')
.select(['B2', 'B3', 'B4']);
尝试this
从进口中选择您感兴趣的geometry/point。
var batch = require('users/fitoprincipe/geetools:batch');
var filtered_Image=ee.ImageCollection('LANDSAT/LC8_L1T_TOA')
.filterBounds(POI)
.filter(ee.Filter.eq('WRS_PATH', 138))
.filter(ee.Filter.eq('WRS_ROW', 45))
.filterMetadata('CLOUD_COVER','less_than',20)
.filterDate('2017-01-01', '2019-12-31')
.select(['B2', 'B3', 'B4']);
Map.setCenter(88, 21, 7);
var vizParams = {
bands: ['B2', 'B3', 'B4'],
min: 0,
max: 0.5,
gamma: [0.95, 1.1, 1]
};
Map.addLayer (filtered_Image.first(), vizParams, 'false color composite')
batch.Download.ImageCollection.toDrive(filtered_Image, 'Landsat8', {
name: 'filtered_Image_{system:index}',
type: 'float',
scale: 30,
region: POI
});