Method: projects.filmstripThumbnails.create

建立可用於算繪包含多個圖片集的圖片的 ID。

此選項會與 filmstripThumbnails.getPixels 搭配使用。呼叫 filmstripThumbnails.create 會提供運算式和一些輸出選項。filmstripThumbnails.create 的結果是代表圖片的 ID,該 ID 是評估該運算式並套用這些選項的結果。接著,您可以呼叫 filmstripThumbnails.getPixels,取得顯示 ImageCollection 所有元素的圖片,並以從上到下或從左到右的方式串連。ID 的有效時間為數小時。

在 ImageCollection 中,所有圖片的總像素數量上限為 512 x 512 x 100。如果要求超出這些限制,就會傳回 400 (BAD_REQUEST) 錯誤代碼。

HTTP 要求

POST https://earthengine.googleapis.com/v1/{parent=projects/*}/filmstripThumbnails

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

必要欄位。要建立幻燈片縮圖的位置的父項 (例如「projects/*」)。

授權需要指定資源 parent 的下列 IAM 權限:

  • earthengine.filmstripthumbnails.create

查詢參數

參數
workloadTag

string

使用者提供的用於追蹤這項運算的代碼。

要求主體

要求主體包含 FilmstripThumbnail 的例項。

回應主體

如果成功,回應主體會包含新建立的 FilmstripThumbnail 例項。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/earthengine
  • https://www.googleapis.com/auth/earthengine.readonly
  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only

詳情請參閱 OAuth 2.0 Overview