Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
REST Resource: projects.locations.thumbnails
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa: miniatura
Informazioni su una miniatura.
Campi |
name |
string
Il nome della risorsa che rappresenta la miniatura, nel formato "projects/*/thumbnails/**" (ad es. "projects/earthengine-legacy/thumbnails/").
|
expression |
object (Expression )
L'espressione da calcolare. Deve restituire un'immagine.
|
fileFormat |
enum (ImageFileFormat )
La codifica di output in cui generare l'immagine risultante.
|
bandIds[] |
string
Se presente, specifica un insieme specifico di bande che verranno selezionate dal risultato della valutazione di expression . Se non è presente, verranno selezionate tutte le bande risultanti da expression .
|
visualizationOptions |
object (VisualizationOptions )
Se presente, un insieme di opzioni di visualizzazione da applicare per produrre una visualizzazione RGB a 8 bit dei dati.
|
grid |
object (PixelGrid )
Una griglia di pixel facoltativa che descrive in che modo l'immagine calcolata da expression viene riproiettata e ritagliata.
|
filenamePrefix |
string
Viene utilizzato solo quando fileFormat è ZIPPED_GEO_TIFF o ZIPPED_GEO_TIFF_PER_BAND.
|
Metodi |
|
Crea un ID che può essere utilizzato per visualizzare un'immagine "miniatura". |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThumbnails are visual representations of Earth Engine images, generated from expressions and saved in various formats like PNG or GeoTIFF.\u003c/p\u003e\n"],["\u003cp\u003eCustomization options include selecting specific bands, applying visualization settings for RGB output, and defining a pixel grid for reprojection and clipping.\u003c/p\u003e\n"],["\u003cp\u003eThumbnails are identified by unique resource names and created using the \u003ccode\u003ecreate\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eWhen using specific file formats like ZIPPED_GEO_TIFF, a filename prefix can be specified.\u003c/p\u003e\n"]]],["This document details the structure and creation of thumbnails for Earth Engine data. Key information includes: the `name` of the thumbnail resource, an `expression` to compute the image, `fileFormat` for output encoding, and `bandIds` to select specific bands. `visualizationOptions` allow for 8-bit RGB visualization. An optional `grid` defines image reprojection and clipping. Finally, the method `create` generates an ID to render 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/v1beta/Expression) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1beta/ImageFileFormat), \"bandIds\": [ string ], \"visualizationOptions\": { object (/earth-engine/reference/rest/v1beta/VisualizationOptions) }, \"grid\": { object (/earth-engine/reference/rest/v1beta/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/v1beta/Expression)`)` The expression to compute. Must evaluate to an Image. |\n| `fileFormat` | `enum (`[ImageFileFormat](/earth-engine/reference/rest/v1beta/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/v1beta/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/v1beta/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/v1beta/projects.locations.thumbnails/create) | Creates an ID that can be used to render a \"thumbnail\" image. |"]]