Google Earth Engine(GEE)——我们如何合并多个矢量?
Google 如何 多个 合并 我们 Engine Earth GEE
2023-09-11 14:15:11 时间
其实在GEE当中很简单,简单的讲就是将一个小的物品装在包装盒内,然后包装盒再集体打包成箱的一个过程,如果你能理解到这一点,那么请直接看代码:
//首先先创建一个矢量集合
//单一的矢量,都设置为控制,数量属性设置为1,2,3
var fCol1 = ee.FeatureCollection([
ee.Feature(null, {count: 1}),
ee.Feature(null, {count: 2}),
ee.Feature(null, {count: 3})
]);
//再创建第二个集合
var fCol2 = ee.FeatureCollection([
ee.Feature(null, {count: 11}),
ee.Feature(null, {count: 21}),
ee.Feature(null, {count: 31})
]);
最后通过merge融合来实现两个矢量集合的合并;
var fCol3 = fCol1.merge(fCol2);
print("fCol3", fCol3);
官方给出的函数:
相关文章
- Google Drive 文件转存工具合集
- [Docker] Storing Container Data in Google Cloud Storage
- [Kubernates] Kubernetes Intro on Google cloud
- Google Protocol Buffer使用经验分享(一) C++动态消息与静态消息的博弈
- 如何更好面对VR遇到的难题?这里有一些Google分享的经验
- Google 和 Facebook 如何大规模处理 IT 事件管理 —— 2016 SRE 大会之我见
- Google专家深度解读VR影片拍摄、后期处理技术
- [CleanArchitecture] Google官方的Nowinandroid是如何抽出抽象层(Domain Layer)的
- 你跟大牛之间仅仅差一个google
- 如何使用Google APIs和Google应用系统集成(7)----在里面JSON兑换XML数据处理,JSON数据包括违规XML数据规范:XML节点名称不支持号码Java解
- Google Gson用法
- 018:Mapbox GL加载Google地图(影像瓦片图)
- 如何看待 Google 最新的系统 Fuchsia?
- google 翻译错误解决方法