Method: projects.locations.filmstripThumbnails.create
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יצירת מזהה שאפשר להשתמש בו כדי ליצור תמונה שמכילה כמה תמונות מאוסף.
משתמשים בו בשילוב עם GetFilmstripThumbnailPixels
. קריאה ל-filmstripThumbnails.create
מספקת ביטוי וכמה אפשרויות פלט. התוצאה של filmstripThumbnails.create
היא מזהה שמייצג תמונה שהיא תוצאה של הערכת הביטוי הזה והחלה של האפשרויות האלה. לאחר מכן, אפשר לבצע קריאות ל-GetFilmstripThumbnailPixels
כדי לקבל תמונה שבה מוצגים כל הרכיבים של ImageCollection, שמקושרים מלמעלה למטה או מצד לצד. התעודה המזהה תהיה תקפה למשך פרק זמן קצר (כמה שעות).
הבקשה מוגבלת ל-512*512*100 פיקסלים בסך הכול, בכל התמונות ב-ImageCollection. בקשות שיחרגו מהמגבלות האלה יגרמו לקוד שגיאה 400 (BAD_REQUEST).
בקשת HTTP
POST https://earthengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/filmstripThumbnails
כתובת ה-URL משתמשת בתחביר של Transcoding של 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.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eCreates an ID that represents an image combining multiple images from an ImageCollection, viewable using \u003ccode\u003eGetFilmstripThumbnailPixels\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe created ID allows visualization of ImageCollection elements concatenated either vertically or horizontally.\u003c/p\u003e\n"],["\u003cp\u003eImage size is restricted to a maximum of 512x512 pixels with a total limit of 100 pixels across all images in the collection.\u003c/p\u003e\n"],["\u003cp\u003eUsers need specific IAM permissions and OAuth scopes for authorization to create and access filmstrip thumbnails.\u003c/p\u003e\n"]]],["An ID is created using `filmstripThumbnails.create`, representing an image from an evaluated expression and options. `GetFilmstripThumbnailPixels` uses this ID to retrieve an image of an ImageCollection, displayed vertically or horizontally. This ID is valid for a few hours. Requests are limited to 512\\*512\\*100 pixels. The request is made via a `POST` to a specific URL, with `parent` and `workloadTag` as parameters. The body contains a `FilmstripThumbnail` instance. The response returns a newly created `FilmstripThumbnail` instance.\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/v1alpha/{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/v1alpha/projects.filmstripThumbnails#FilmstripThumbnail).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [FilmstripThumbnail](/earth-engine/reference/rest/v1alpha/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)."]]