公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.data.getTableDownloadId
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
取得下載 ID。
傳回下載 ID 和權杖,如果指定回呼,則傳回 null。
用量 | 傳回 |
---|
ee.data.getTableDownloadId(params, callback) | DownloadId |
引數 | 類型 | 詳細資料 |
---|
params | 物件 | 這個物件包含表格下載選項,可能的值如下:
table: 要下載的特徵集合。 |
format: 下載格式,例如 CSV、JSON、KML、KMZ 或 TF_RECORD。 |
selectors: 可用來判斷要下載哪些屬性的選取器字串清單。 |
filename: 要下載的檔案名稱。 |
|
callback | 函式 (選用) | 選用回呼。如未提供,系統會同步發出呼叫。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]