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.
ee.data.startProcessing
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Crea una tarea de procesamiento que exporta o renderiza previamente una imagen.
El valor de devolución es nulo si se especifica una devolución de llamada.
Devuelve un objeto con los siguientes campos:
- taskId: ID de la tarea enviada (sin guiones).
- name: Nombre completo de la operación en el formato projects/X/operations/Y
- started: será "OK"
- Nota: Puede tener el valor "ALREADY_EXISTS" si ya existe una tarea idéntica con el mismo ID sin enviar.
Uso | Muestra |
---|
ee.data.startProcessing(taskId, params, callback) | ProcessingResponse |
Argumento | Tipo | Detalles |
---|
taskId | String | ID no enviado de la tarea (obtenido de newTaskId). Se usa para identificar tareas duplicadas y puede ser nulo. El servidor creará y devolverá un ID enviado. |
params | Objeto | Es el objeto que describe la tarea de procesamiento. Aquí solo se documentan los campos que son comunes a todos los tipos de procesamiento. type (cadena): Puede ser "EXPORT_IMAGE", "EXPORT_FEATURES", "EXPORT_VIDEO" o "EXPORT_TILES". json (cadena): Es la descripción en formato JSON de la imagen. |
callback | Función, opcional | Es una devolución de llamada opcional. Si no se proporciona, la llamada se realiza de forma síncrona. |
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-26 (UTC)
[null,null,["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003eThis processing task exports or pre-renders an image and can be initiated using \u003ccode\u003eee.data.startProcessing\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns an object containing task details like ID, name, status, and potential notes, or null if a callback is provided.\u003c/p\u003e\n"],["\u003cp\u003eTask parameters include a user-defined or server-generated task ID and a JSON object describing the image and export type.\u003c/p\u003e\n"],["\u003cp\u003eAn optional callback function can be included for asynchronous execution.\u003c/p\u003e\n"]]],["The `ee.data.startProcessing` function initiates a processing task to export or pre-render an image. It accepts a `taskId`, `params` object (specifying task type and JSON description), and an optional `callback`. The function returns a `ProcessingResponse` object with the submitted task ID, operation name, and start status, or `null` if a callback is provided. `taskId` is a user-defined ID, while the server generates the submitted ID, and `params` specify the task type. A note of `ALREADY_EXISTS` may be present.\n"],null,["# ee.data.startProcessing\n\n\u003cbr /\u003e\n\nCreate processing task that exports or pre-renders an image.\n\n\u003cbr /\u003e\n\nReturn value is null if a callback is specified.\n\nReturns an object with fields:\n\n- taskId: Submitted task ID (without hyphens).\n\n- name: Full operation name in the format projects/X/operations/Y\n\n- started: will be 'OK'\n\n- note: may have value 'ALREADY_EXISTS' if an identical task with the same unsubmitted ID already exists.\n\n| Usage | Returns |\n|---------------------------------------------------------|--------------------|\n| `ee.data.startProcessing(taskId, params, `*callback*`)` | ProcessingResponse |\n\n| Argument | Type | Details |\n|------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `taskId` | String | Unsubmitted ID for the task (obtained from newTaskId). Used to identify duplicated tasks; may be null. The server will create and return a submitted ID. |\n| `params` | Object | The object that describes the processing task; only fields that are common for all processing types are documented here. type (string) Either 'EXPORT_IMAGE', 'EXPORT_FEATURES', 'EXPORT_VIDEO' or 'EXPORT_TILES'. json (string) JSON description of the image. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]