代码拉取完成,页面将自动刷新
// Filter an image collection by date and region to make a
// median pixel composite.
//
// See also: ClippedComposite, which crops the output image
// instead of filtering the input collection.
// Filter to only include images intersecting Colorado or Utah.
// Create a Landsat 8 composite for 2016, and filter by
// the bounds of the FeatureCollection.
var collection = ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA')
.filterDate('2016-01-01', '2016-12-31')
.filterBounds(polygon);
print(collection)
// Compute the median in each band, in each pixel.
var median = collection.median();
// Select the red, green and blue bands.
var result = median.select('B4', 'B3', 'B2');
Map.addLayer(result, {max:0.4}, 'Landsat 8 Composite');
Map.setCenter(-47, -15, 7);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。