ee.data.listImages
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลรายการเนื้อหาในคอลเล็กชันรูปภาพในออบเจ็กต์ที่มีอาร์เรย์
images
และ
nextPageToken
ที่ไม่บังคับ
การใช้งาน | การคืนสินค้า |
---|
ee.data.listImages(parent, params, callback) | ListImagesResponse |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
parent | สตริง | รหัสของคอลเล็กชันรูปภาพที่จะแสดง |
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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\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,[]]