REST Resource: projects.locations.thumbnails
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ressource: Thumbnail
Informationen zu einem Thumbnail.
Felder |
name |
string
Der Ressourcenname der Miniaturansicht im Format „projects/*/thumbnails/**“ (z.B. „projects/earthengine-legacy/thumbnails/“).
|
expression |
object (Expression )
Der Ausdruck, der berechnet werden soll. Muss zu einem Bild ausgewertet werden.
|
fileFormat |
enum (ImageFileFormat )
Die Ausgabecodierung, in der das resultierende Bild generiert werden soll.
|
bandIds[] |
string
Gibt gegebenenfalls eine bestimmte Gruppe von Bändern an, die aus dem Ergebnis der Auswertung von expression ausgewählt werden. Wenn nicht vorhanden, werden alle Bänder ausgewählt, die aus expression resultieren.
|
visualizationOptions |
object (VisualizationOptions )
Falls vorhanden, eine Reihe von Visualisierungsoptionen, die angewendet werden, um eine 8‑Bit-RGB-Visualisierung der Daten zu erstellen.
|
grid |
object (PixelGrid )
Ein optionales Pixelraster, das beschreibt, wie das von expression berechnete Bild neu projiziert und zugeschnitten wird.
|
filenamePrefix |
string
Wird nur verwendet, wenn „fileFormat“ ZIPPED_GEO_TIFF oder ZIPPED_GEO_TIFF_PER_BAND ist.
|
Methoden |
|
Erstellt eine ID, die zum Rendern eines Thumbnail-Bilds verwendet werden kann. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]