Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
Method: projects.thumbnails.getPixels
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Calcula una imagen que muestra el resultado de un cálculo. La solicitud incluye valores (un ID y un token de autorización) de una solicitud thumbnails.create
anterior.
Solicitud HTTP
GET https://earthengine.googleapis.com/v1alpha/{name=projects/*/thumbnails/*}:getPixels
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
name |
string
Es obligatorio. Es un nombre de miniatura de Thumbnail.name .
|
Cuerpo de la solicitud
El cuerpo de la solicitud debe estar vacío.
Cuerpo de la respuesta
Si se ejecuta de forma correcta, la respuesta es una respuesta HTTP genérica, y el método define su formato.
Permisos de autorización
Se necesita uno de los siguientes permisos de OAuth:
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
Para obtener más información, consulta OAuth 2.0 Overview.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003eRetrieves computed imagery pixels based on a previous \u003ccode\u003ethumbnails.create\u003c/code\u003e request using its ID and authorization token.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request to the specified endpoint with the thumbnail name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequires empty request body and returns a generic HTTP response containing the image data.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with specific OAuth scopes for accessing and reading Earth Engine data.\u003c/p\u003e\n"]]],["This outlines the `getPixels` method for retrieving a computed image. It uses a `GET` request to the specified URL, with the required `name` parameter (a thumbnail ID) in the path. The request body is empty. A successful response returns the image data. Authorization requires specific OAuth scopes, including `earthengine` and `cloud-platform` related permissions. The request utilizes values obtained from a prior `thumbnails.create` call.\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/v1alpha/{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)."]]