Method: projects.locations.filmstripThumbnails.create
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างรหัสที่ใช้เพื่อแสดงผลรูปภาพที่มีรูปภาพหลายรูปจากคอลเล็กชัน
ใช้ร่วมกับ GetFilmstripThumbnailPixels
การเรียกใช้ filmstripThumbnails.create
จะแสดงนิพจน์และตัวเลือกเอาต์พุตบางอย่าง ผลลัพธ์ของ filmstripThumbnails.create
คือรหัสที่แสดงรูปภาพซึ่งเป็นผลมาจากการประเมินนิพจน์นั้นและใช้ตัวเลือกเหล่านั้น จากนั้นเรียกใช้ GetFilmstripThumbnailPixels
เพื่อรับรูปภาพที่แสดงองค์ประกอบทั้งหมดของ ImageCollection ซึ่งต่อกันจากบนลงล่างหรือจากด้านหนึ่งไปอีกด้านหนึ่ง บัตรประจำตัวจะใช้งานได้เป็นระยะเวลาหนึ่ง (2-3 ชั่วโมง)
คำขอถูกจำกัดไว้ที่ 512*512*100 พิกเซลโดยรวมสำหรับรูปภาพทั้งหมดใน ImageCollection คำขอที่เกินขีดจำกัดเหล่านี้จะส่งผลให้เกิดรหัสข้อผิดพลาด 400 (BAD_REQUEST)
คำขอ HTTP
POST https://earthengine.googleapis.com/v1beta/{parent=projects/*/locations/*}/filmstripThumbnails
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ รายการหลักของตำแหน่งที่จะสร้างภาพขนาดย่อของฟิล์มสไลด์ (เช่น "projects/*")
การให้สิทธิ์ต้องใช้สิทธิ์ IAM ต่อไปนี้ในทรัพยากร parent ที่ระบุ
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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eCreates a unique ID for rendering a single image composed of multiple images from an ImageCollection, stitched together.\u003c/p\u003e\n"],["\u003cp\u003eThis ID, generated using an expression and output options, can be used with \u003ccode\u003eGetFilmstripThumbnailPixels\u003c/code\u003e to retrieve the composite image.\u003c/p\u003e\n"],["\u003cp\u003eThe generated image is limited to a total size of 512x512x100 pixels across all images in the collection, exceeding which results in an error.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specific IAM permission (\u003ccode\u003eearthengine.filmstripthumbnails.create\u003c/code\u003e) on the parent resource for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.filmstripThumbnails.create\n\nCreates an ID that can be used to render an image containing multiple images from a collection.\n\nThis is used in conjunction with `GetFilmstripThumbnailPixels`. A call to `filmstripThumbnails.create` provides an expression and some output options. The result of `filmstripThumbnails.create` is an ID that represents an image that is the result of evaluating that expression and applying those options. Subsequently, calls to `GetFilmstripThumbnailPixels` can be made to get an image showing all of the elements of an ImageCollection, concatenated top-to-bottom or side-to-side. The ID will be valid for a moderate period (a few hours).\n\nThe request is limited to 512\\*512\\*100 pixels in total, across all Images in the ImageCollection. Requests exceeding these limits will result in an error code of 400 (BAD_REQUEST).\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1beta/{parent=projects/*/locations/*}/filmstripThumbnails`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent of the location where the filmstrip thumbnail will be created (e.g., \"projects/\\*\"). Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `earthengine.filmstripthumbnails.create` |\n\n### Query parameters\n\n| Parameters ||\n|---------------|-------------------------------------------------------|\n| `workloadTag` | `string` User supplied tag to track this computation. |\n\n### Request body\n\nThe request body contains an instance of [FilmstripThumbnail](/earth-engine/reference/rest/v1beta/projects.filmstripThumbnails#FilmstripThumbnail).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [FilmstripThumbnail](/earth-engine/reference/rest/v1beta/projects.filmstripThumbnails#FilmstripThumbnail).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]