REST Resource: projects.locations.thumbnails
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên: Hình thu nhỏ
Thông tin về hình thu nhỏ.
Trường |
name |
string
Tên tài nguyên đại diện cho hình thu nhỏ, có dạng "projects/*/thumbnails/**" (ví dụ: "projects/earthengine-legacy/thumbnails/").
|
expression |
object (Expression )
Biểu thức cần tính toán. Phải đánh giá thành Hình ảnh.
|
fileFormat |
enum (ImageFileFormat )
Mã hoá đầu ra để tạo hình ảnh kết quả.
|
bandIds[] |
string
Nếu có, hãy chỉ định một nhóm băng tần cụ thể sẽ được chọn từ kết quả đánh giá expression . Nếu không có, tất cả các dải tần số từ expression sẽ được chọn.
|
visualizationOptions |
object (VisualizationOptions )
Một tập hợp các tuỳ chọn trực quan hoá (nếu có) để áp dụng nhằm tạo ra hình ảnh trực quan hoá RGB 8 bit của dữ liệu.
|
grid |
object (PixelGrid )
Lưới pixel không bắt buộc mô tả cách hình ảnh do expression tính toán được chiếu lại và cắt.
|
filenamePrefix |
string
Chỉ dùng khi fileFormat là ZIPPED_GEO_TIFF hoặc ZIPPED_GEO_TIFF_PER_BAND.
|
Phương thức |
|
Tạo một mã nhận dạng có thể dùng để hiển thị hình ảnh "hình thu nhỏ". |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]