公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
Export.table.toCloudStorage
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
建立批次工作,將 FeatureCollection 匯出為資料表至 Google Cloud Storage。你可以從「工作」分頁啟動工作。
用量 | 傳回 |
---|
Export.table.toCloudStorage(collection, description, bucket, fileNamePrefix, fileFormat, selectors, maxVertices, priority) | |
引數 | 類型 | 詳細資料 |
---|
collection | FeatureCollection | 要匯出的特徵集合。 |
description | 字串 (選用) | 使用者可解讀的任務名稱。預設值為「myExportTableTask」。 |
bucket | 字串 (選用) | Cloud Storage 目標值區。 |
fileNamePrefix | 字串 (選用) | 做為輸出內容前置字串的字串。尾端的「/」表示路徑。預設為說明。 |
fileFormat | 字串 (選用) | 輸出格式:「CSV」(預設)、
「GeoJSON」、「KML」、「KMZ」、「SHP」或「TFRecord」。 |
selectors | List<String>|String,選用 | 要匯出的屬性清單;可以是包含以半形逗號分隔名稱的單一字串,也可以是字串清單。 |
maxVertices | 號碼 (選填) | 每個幾何圖形未剪切的頂點數量上限;如果幾何圖形的頂點數量超過這個上限,系統會將其剪切成較小的片段。 |
priority | 號碼 (選填) | 專案內工作的優先順序。系統會優先排定優先順序較高的工作。必須是介於 0 至 9999 之間的整數。預設值為 100。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["This document outlines how to export a FeatureCollection as a table to Google Cloud Storage using a batch task. The `Export.table.toCloudStorage` function requires a `collection` and allows for optional parameters: `description` (task name), `bucket` (destination), `fileNamePrefix`, `fileFormat` (CSV, GeoJSON, etc.), `selectors` (properties to include), `maxVertices` (geometry limit), and `priority` (task scheduling). The function creates a task accessible from the Tasks tab.\n"],null,[]]