Earth Engine 将推出
非商业配额层级,以保护共享计算资源并确保为所有人提供可靠的性能。所有非商业项目都需要在
2026 年 4 月 27 日之前选择配额层级,否则系统会默认使用 Community 层级。层级配额将于
2026 年 4 月 27 日对所有项目生效(无论层级选择日期如何)。
了解详情。
ee.ImageCollection.getInfo
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
一种命令式函数,可通过 AJAX 调用返回有关此集合的所有已知信息。
返回字段包括以下内容的集合说明:
- features:一个列表,包含有关集合中图片的元数据。
- bands:一个字典,用于描述相应媒体集中图片的波段。
- properties:一个可选的字典,包含集合的元数据属性。
| 用法 | 返回 |
|---|
ImageCollection.getInfo(callback) | ImageCollectionDescription |
| 参数 | 类型 | 详细信息 |
|---|
此:imagecollection | ImageCollection | ImageCollection 实例。 |
callback | 函数(可选) | 可选的回调。如果未提供,则以同步方式进行调用。如果提供,则在成功时使用第一个参数调用,在不成功时使用第二个参数调用。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["The `getInfo` function retrieves metadata about an `ImageCollection` via an AJAX call. It returns an `ImageCollectionDescription` containing: a `features` list (image metadata), a `bands` dictionary (band descriptions), and an optional `properties` dictionary (collection metadata). The function can operate synchronously or asynchronously using an optional `callback`. The `callback` function receives the result upon successful or failed completion.\n"]]