Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
REST Resource: projects.locations.thumbnails
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Thumbnail
Information about a thumbnail.
Fields |
name |
string
The resource name representing the thumbnail, of the form "projects/*/thumbnails/**" (e.g. "projects/earthengine-legacy/thumbnails/").
|
expression |
object (Expression )
The expression to compute. Must evaluate to an Image.
|
fileFormat |
enum (ImageFileFormat )
The output encoding in which to generate the resulting image.
|
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.
|
visualizationOptions |
object (VisualizationOptions )
If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data.
|
grid |
object (PixelGrid )
An optional pixel grid describing how the image computed by expression is reprojected and clipped.
|
filenamePrefix |
string
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["\u003cp\u003eThumbnails are generated from an expression that evaluates to an Earth Engine Image.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the output format, band selection, visualization, and projection of the thumbnail.\u003c/p\u003e\n"],["\u003cp\u003eThumbnails can be created using the \u003ccode\u003eprojects.locations.thumbnails/create\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evisualizationOptions\u003c/code\u003e field allows for applying visualization parameters to generate an 8-bit RGB visualization.\u003c/p\u003e\n"],["\u003cp\u003eThumbnails support various output formats like GeoTIFF and PNG.\u003c/p\u003e\n"]]],["This describes the structure for a thumbnail resource, outlining its JSON representation and fields. Key information includes the `name`, `expression` (an image-producing computation), desired `fileFormat`, and specific `bandIds` if a subset is needed. Optional fields include `visualizationOptions` for 8-bit RGB displays and `grid` for reprojection/clipping. `filenamePrefix` is for ZIPPED_GEO_TIFF outputs. A key action is to use `create` to generate a thumbnail ID.\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/v1alpha/Expression) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1alpha/ImageFileFormat), \"bandIds\": [ string ], \"visualizationOptions\": { object (/earth-engine/reference/rest/v1alpha/VisualizationOptions) }, \"grid\": { object (/earth-engine/reference/rest/v1alpha/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/v1alpha/Expression)`)` The expression to compute. Must evaluate to an Image. |\n| `fileFormat` | `enum (`[ImageFileFormat](/earth-engine/reference/rest/v1alpha/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/v1alpha/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/v1alpha/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/v1alpha/projects.locations.thumbnails/create) | Creates an ID that can be used to render a \"thumbnail\" image. |"]]