公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.data.listImages
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回图片集中的内容列表,该列表位于一个包含
images
数组和可选
nextPageToken
的对象中。
用法 | 返回 |
---|
ee.data.listImages(parent, params, callback) | ListImagesResponse |
参数 | 类型 | 详细信息 |
---|
parent | 字符串 | 要列出的图片集合的 ID。 |
params | 对象,可选 | 一个包含可选请求参数的对象,可具有以下可能的值:
pageSize (字符串)要返回的结果数。如果未指定,则返回所有结果。 |
pageToken (字符串)要返回的结果的令牌页面。 |
startTime (ISO 8601 字符串)最小开始时间(含)。 |
endTime (ISO 8601 字符串)最大结束时间(不含)。 |
region (GeoJSON 或 WKT 字符串)要过滤的区域。 |
properties (字符串列表)要应用的一系列房源过滤条件,例如:["classification=urban", "size>=2"]。 |
filter (字符串)要应用的其他过滤查询。查询示例:properties.my_property>=1 AND properties.my_property<2 AND startTime >= "2019-01-01T00:00:00.000Z" AND endTime < "2020-01-01T00:00:00.000Z" AND intersects("{'type':'Point','coordinates':[0,0]}") 如需了解如何构建查询,请参阅 https://google.aip.dev/160。 |
view (字符串)指定在列表中返回的详细信息量。“FULL”(默认)表示所有图片属性,或“BASIC”。 |
|
callback | 函数(可选) | 如果未提供,则以同步方式进行调用。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eReturns a list of image contents within a specified image collection, including image details and a page token for navigation.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eee.data.listImages()\u003c/code\u003e function, accepting parameters like parent collection ID, optional filters, and a callback function.\u003c/p\u003e\n"],["\u003cp\u003eOptional parameters allow filtering by date, region, properties, and view, enabling retrieval of specific image subsets.\u003c/p\u003e\n"],["\u003cp\u003eResults are provided within a \u003ccode\u003eListImagesResponse\u003c/code\u003e object, containing an array of images and a token for accessing further pages if available.\u003c/p\u003e\n"]]],["The function `ee.data.listImages` retrieves a list of image collection contents. It requires a `parent` ID and optionally accepts `params` for filtering results, including `pageSize`, `pageToken`, time ranges (`startTime`, `endTime`), `region`, `properties`, and a custom `filter`. The `view` parameter controls the detail level returned. Results are returned in a `ListImagesResponse` object, which contains an `images` array and an optional `nextPageToken`. A `callback` function can be used for asynchronous calls.\n"],null,[]]