地球引擎保姆级教程——用export导出影像和SHP文件格式
【摘要】
var l8raw = ee.ImageCollection("LANDSAT/LC08/C01/T1"),var geometry = /* color: #98ff00 */ee.Geometry.Polygon( [[[93.51699829101562, 27.054233808785835], ...
-
var l8raw = ee.ImageCollection("LANDSAT/LC08/C01/T1"),
-
var geometry = /* color: #98ff00 */ee.Geometry.Polygon(
-
[[[93.51699829101562, 27.054233808785835],
-
[93.515625, 26.676913083105454],
-
[94.25994873046875, 26.674458841825206],
-
[94.25582885742188, 27.07991430007954]]]);
-
-
// 去云和时间筛选
-
var composite = ee.Algorithms.Landsat.simpleComposite({
-
collection: l8raw.filterDate('2017-01-01', '2017-12-31'),
-
asFloat: true
-
});
-
-
// 展示合成影像的结果
-
var trueColorVis = {min: 0, max: 0.3, bands: ['B4', 'B3', 'B2']};
-
Map.centerObject(geometry);
-
Map.addLayer(composite, trueColorVis, 'composite');
-
-
// 导出数据。(见 "任务 "选项卡)。)
-
//这里你可以不添加连接,直接进行名字描述也可以的或者进行文件名描述
-
var link = '2b1149b93520da95df23dd2caf1117eb';
-
Export.image.toDrive({
-
image: composite,
-
description: 'ExportedData',
-
fileNamePrefix: 'ExportedData_'
文章来源: blog.csdn.net,作者:此星光明2021年博客之星云计算Top3,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/qq_31988139/article/details/120513465
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)