公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取。如未在 2025 年 9 月 26 日前完成驗證,存取權可能會暫停。
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 | 函式 (選用) | 如未提供,系統會同步發出呼叫。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["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"]]