AI-generated Key Takeaways
-
A thumbnail resource represents an image generated from an Earth Engine expression.
-
Thumbnails can be customized by specifying file format, band selection, visualization options, and pixel grid.
-
You can create a thumbnail ID and render it or retrieve the pixel data directly.
-
The thumbnail resource uses a JSON representation with fields like name, expression, fileFormat, bandIds, visualizationOptions, grid, and filenamePrefix.
-
Available methods for interacting with thumbnails include
create
for initiating a thumbnail andgetPixels
for retrieving the pixel data.
Resource: Thumbnail
Information about a thumbnail.
JSON representation |
---|
{ "name": string, "expression": { object ( |
Fields | |
---|---|
name |
The resource name representing the thumbnail, of the form "projects/*/thumbnails/**" (e.g. "projects/earthengine-legacy/thumbnails/ |
expression |
The expression to compute. Must evaluate to an Image. |
fileFormat |
The output encoding in which to generate the resulting image. |
bandIds[] |
If present, specifies a specific set of bands that will be selected from the result of evaluating |
visualizationOptions |
If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data. |
grid |
An optional pixel grid describing how the image computed by |
filenamePrefix |
Only used when fileFormat is ZIPPED_GEO_TIFF or ZIPPED_GEO_TIFF_PER_BAND. |
Methods |
|
---|---|
|
Creates an ID that can be used to render a "thumbnail" image. |
|
Computes an image showing the result of a computation. |