REST Resource: projects.locations.thumbnails
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร: ภาพปก
ช่อง |
name |
string
ชื่อทรัพยากรที่แสดงภาพขนาดย่อในรูปแบบ "projects/*/thumbnails/**" (เช่น "projects/earthengine-legacy/thumbnails/")
|
expression |
object (Expression )
นิพจน์ที่จะคํานวณ ต้องประเมินเป็นรูปภาพ
|
fileFormat |
enum (ImageFileFormat )
การเข้ารหัสเอาต์พุตที่จะสร้างรูปภาพที่ได้
|
bandIds[] |
string
(หากมี) ระบุชุดย่านความถี่ที่เฉพาะเจาะจงซึ่งจะเลือกจากผลการประเมิน expression หากไม่มี ระบบจะเลือกย่านความถี่ทั้งหมดที่เกิดจาก expression
|
visualizationOptions |
object (VisualizationOptions )
ชุดตัวเลือกการแสดงภาพ (หากมี) เพื่อใช้สร้างการแสดงภาพข้อมูล RGB 8 บิต
|
grid |
object (PixelGrid )
ตารางพิกเซลที่ไม่บังคับซึ่งอธิบายวิธีโปรเจ็กต์และตัดรูปภาพที่คำนวณโดย expression อีกครั้ง
|
filenamePrefix |
string
ใช้เฉพาะในกรณีที่ fileFormat เป็น ZIPPED_GEO_TIFF หรือ ZIPPED_GEO_TIFF_PER_BAND
|
เมธอด |
|
สร้างรหัสที่ใช้แสดงผลรูปภาพ "ภาพปก" ได้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThumbnails are generated from an expression that evaluates to an Earth Engine Image.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify visualization options, file format, and band selection for the thumbnail.\u003c/p\u003e\n"],["\u003cp\u003eThumbnails can be reprojected and clipped using a pixel grid.\u003c/p\u003e\n"],["\u003cp\u003eAn API method is available to create and render thumbnail images.\u003c/p\u003e\n"]]],["This document details the structure and creation of thumbnails. Key elements include: `name` (resource identifier), `expression` (image computation), `fileFormat` (output encoding), `bandIds` (specific band selection), `visualizationOptions` (8-bit RGB visualization settings), `grid` (image reprojection/clipping), and `filenamePrefix` (for zipped formats). It describes the JSON structure of a thumbnail and provides information on the fields. Additionally, it states the `create` method, which generates an ID for rendering a thumbnail image.\n"],null,["# REST Resource: projects.locations.thumbnails\n\nResource: Thumbnail\n-------------------\n\nInformation about a thumbnail.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expression\": { object (/earth-engine/reference/rest/v1/Expression) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1/ImageFileFormat), \"bandIds\": [ string ], \"visualizationOptions\": { object (/earth-engine/reference/rest/v1/VisualizationOptions) }, \"grid\": { object (/earth-engine/reference/rest/v1/PixelGrid) }, \"filenamePrefix\": string } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name representing the thumbnail, of the form \"projects/\\*/thumbnails/\\*\\*\" (e.g. \"projects/earthengine-legacy/thumbnails/\"). |\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1/Expression)`)` The expression to compute. Must evaluate to an Image. |\n| `fileFormat` | `enum (`[ImageFileFormat](/earth-engine/reference/rest/v1/ImageFileFormat)`)` The output encoding in which to generate the resulting image. |\n| `bandIds[]` | `string` If present, specifies a specific set of bands that will be selected from the result of evaluating `expression`. If not present, all bands resulting from `expression` will be selected. |\n| `visualizationOptions` | `object (`[VisualizationOptions](/earth-engine/reference/rest/v1/VisualizationOptions)`)` If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data. |\n| `grid` | `object (`[PixelGrid](/earth-engine/reference/rest/v1/PixelGrid)`)` An optional pixel grid describing how the image computed by `expression` is reprojected and clipped. |\n| `filenamePrefix` | `string` Only used when fileFormat is ZIPPED_GEO_TIFF or ZIPPED_GEO_TIFF_PER_BAND. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| ### [create](/earth-engine/reference/rest/v1/projects.locations.thumbnails/create) | Creates an ID that can be used to render a \"thumbnail\" image. |"]]