上一篇文章讲了关于影像的创建和波段添加,今天说一下关于影像集合的添加整体的思路是一样的下面这段话大家自己看下我就不翻译了。
In addition to loading an ImageCollection
using an Earth Engine collection ID, Earth Engine has methods to create image collections. The constructor ee.ImageCollection()
or the convenience method ee.ImageCollection.fromImages()
create image collections from lists of images. You can also create new image collections by merging existing collections. For example:
代码:
// 先创建两个影像作为一会要添加的对象
var constant1 = ee.Image(1);
var constant2 = ee.Image(2);
// 创建一个由列表的影像集合容器用来完成影像的添加
var collectionFromConstructor = ee.ImageCollection([constant1, co