Method: projects.thumbnails.getPixels
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Berechnet ein Bild, das das Ergebnis einer Berechnung zeigt. Die Anfrage enthält Werte (eine ID und ein Autorisierungstoken) aus einer vorherigen thumbnails.create
-Anfrage.
HTTP-Anfrage
GET https://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Der Name eines Thumbnails von Thumbnail.name .
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, ist die Antwort eine allgemeine HTTP-Antwort, deren Format von der Methode vorgegeben wird.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
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\u003eRetrieves computed imagery results using an ID and authorization token obtained from a prior \u003ccode\u003ethumbnails.create\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eEmploys a \u003ccode\u003eGET\u003c/code\u003e request to the specific endpoint \u003ccode\u003ehttps://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels\u003c/code\u003e for image retrieval.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter, sourced from \u003ccode\u003eThumbnail.name\u003c/code\u003e, to pinpoint the desired thumbnail.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes standard HTTP response formatting to deliver the image upon successful retrieval.\u003c/p\u003e\n"],["\u003cp\u003eNeeds appropriate authorization with scopes like \u003ccode\u003eearthengine\u003c/code\u003e, \u003ccode\u003eearthengine.readonly\u003c/code\u003e, \u003ccode\u003ecloud-platform\u003c/code\u003e, or \u003ccode\u003ecloud-platform.read-only\u003c/code\u003e.\u003c/p\u003e\n"]]],["This outlines the `getPixels` method for retrieving a computed image. It uses a `GET` request to a specified URL, requiring a thumbnail name as a path parameter. The request body must be empty. Successful responses deliver an image, and the process needs authorization via one of four listed OAuth scopes. Values from a prior `thumbnails.create` call, such as an ID and authorization token, are used. The URL uses gRPC Transcoding syntax.\n"],null,["# Method: projects.thumbnails.getPixels\n\nComputes an image showing the result of a computation. The request includes values (an ID and authorisation token) from a previous `thumbnails.create` request.\n\n### HTTP request\n\n`GET https://earthengine.googleapis.com/v1beta/{name=projects/*/thumbnails/*}:getPixels`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------|\n| `name` | `string` Required. A thumbnail name from `Thumbnail.name`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]