ee.data.getTableDownloadId
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รับรหัสการดาวน์โหลด
แสดงผลรหัสและโทเค็นการดาวน์โหลด หรือค่า Null หากมีการระบุการเรียกกลับ
การใช้งาน | การคืนสินค้า |
---|
ee.data.getTableDownloadId(params, callback) | DownloadId |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
params | วัตถุ | ออบเจ็กต์ที่มีตัวเลือกการดาวน์โหลดตารางที่มีค่าที่เป็นไปได้ต่อไปนี้
table: คอลเล็กชันฟีเจอร์ที่จะดาวน์โหลด |
format: รูปแบบการดาวน์โหลด CSV, JSON, KML, KMZ หรือ TF_RECORD |
selectors: รายการสตริงของตัวเลือกที่ใช้กำหนดได้ว่าจะดาวน์โหลดแอตทริบิวต์ใด |
filename: ชื่อของไฟล์ที่จะดาวน์โหลด |
|
callback | ฟังก์ชัน (ไม่บังคับ) | การเรียกกลับที่ไม่บังคับ หากไม่ได้ระบุไว้ ระบบจะโทรแบบพร้อมกัน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis function retrieves a download ID and token for initiating a table download.\u003c/p\u003e\n"],["\u003cp\u003eUsers need to provide parameters including table, format, selectors, and filename for the download.\u003c/p\u003e\n"],["\u003cp\u003eAn optional callback function can be included for asynchronous execution; otherwise, the call is synchronous.\u003c/p\u003e\n"]]],[],null,["# ee.data.getTableDownloadId\n\n\u003cbr /\u003e\n\nGet a download ID.\n\n\u003cbr /\u003e\n\nReturns a download id and token, or null if a callback is specified.\n\n| Usage | Returns |\n|----------------------------------------------------|------------|\n| `ee.data.getTableDownloadId(params, `*callback*`)` | DownloadId |\n\n| Argument | Type | Details |\n|------------|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `params` | Object | An object containing table download options with the following possible values: |----------------------------------------------------------------------------------------------------------------| | ` table: ` The feature collection to download. | | ` format: ` The download format, CSV, JSON, KML, KMZ or TF_RECORD. | | ` selectors: ` List of strings of selectors that can be used to determine which attributes will be downloaded. | | ` filename: ` The name of the file that will be downloaded. | |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]