公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
Export.video.toCloudStorage
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
建立批次工作,將 ImageCollection 匯出為影片至 Google Cloud Storage。集合只能包含 RGB 圖片。你可以從「工作」分頁啟動工作。「crsTransform」、「scale」和「dimensions」互斥。
用量 | 傳回 |
---|
Export.video.toCloudStorage(collection, description, bucket, fileNamePrefix, framesPerSecond, dimensions, region, scale, crs, crsTransform, maxPixels, maxFrames, priority) | |
引數 | 類型 | 詳細資料 |
---|
collection | ImageCollection | 要匯出的圖片集。 |
description | 字串 (選用) | 使用者可解讀的任務名稱。預設值為「myExportVideoTask」。 |
bucket | 字串 (選用) | Cloud Storage 目標值區。 |
fileNamePrefix | 字串 (選用) | 做為輸出內容前置字串的字串。尾端的「/」表示路徑。預設為說明。 |
framesPerSecond | 號碼 (選填) | 匯出影片的影格速率。值必須介於 0.1 到 100 之間。預設值為 1。 |
dimensions | Number|String,選填 | 匯出圖片時使用的尺寸。可接受單一正整數做為最大尺寸,或「WIDTHxHEIGHT」,其中 WIDTH 和 HEIGHT 皆為正整數。 |
region | Geometry.LinearRing|Geometry.Polygon|String,選用 | 代表要匯出區域的 LinearRing、Polygon 或座標。這些可以是 Geometry 物件,也可以是序列化為字串的座標。 |
scale | 號碼 (選填) | 每像素的解析度 (以公尺為單位)。 |
crs | 字串 (選用) | 匯出圖片時使用的 CRS。預設為 Google 地圖麥卡托投影,SR-ORG:6627。 |
crsTransform | 字串 (選用) | 用於匯出圖片的仿射轉換。必須定義「crs」。 |
maxPixels | 號碼 (選填) | 限制匯出像素數量。根據預設,如果匯出作業超過 1 億像素,系統會顯示錯誤訊息。明確設定這個值可提高或降低這個限制。 |
maxFrames | 號碼 (選填) | 設定要匯出的影格數量上限。根據預設,最多可匯出 1000 個影格。明確設定這項限制後,您可能會提高或降低限制。 |
priority | 號碼 (選填) | 專案內工作的優先順序。系統會優先排定優先順序較高的工作。必須是介於 0 至 9999 之間的整數。預設值為 100。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["This function exports an ImageCollection as a video to Google Cloud Storage. It requires an RGB ImageCollection and starts as a batch task. Key actions involve specifying the `collection`, destination `bucket`, `fileNamePrefix`, and `framesPerSecond`. Optional parameters include `dimensions`, `region`, `scale`, `crs`, `crsTransform`, `maxPixels`, `maxFrames`, and `priority`. The parameters `crsTransform`, `scale`, and `dimensions` are mutually exclusive, with default values and limitations for several arguments.\n"],null,[]]