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.
Export.table.toCloudStorage
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Crea un batch task per esportare un FeatureCollection come tabella in Google Cloud Storage. Le attività possono essere avviate dalla scheda Attività.
Utilizzo | Resi |
---|
Export.table.toCloudStorage(collection, description, bucket, fileNamePrefix, fileFormat, selectors, maxVertices, priority) | |
Argomento | Tipo | Dettagli |
---|
collection | FeatureCollection | La raccolta di funzionalità da esportare. |
description | Stringa, facoltativa | Un nome leggibile dell'attività. Il valore predefinito è "myExportTableTask". |
bucket | Stringa, facoltativa | Il bucket di destinazione Cloud Storage. |
fileNamePrefix | Stringa, facoltativa | La stringa utilizzata come prefisso dell'output. Una "/" finale indica un percorso. Il valore predefinito è la descrizione. |
fileFormat | Stringa, facoltativa | Il formato di output: "CSV" (predefinito),
"GeoJSON", "KML", "KMZ", "SHP" o "TFRecord". |
selectors | List<String>|String, facoltativo | Un elenco di proprietà da includere nell'esportazione; una singola stringa con nomi separati da virgole o un elenco di stringhe. |
maxVertices | Numero, facoltativo | Numero massimo di vertici non tagliati per geometria; le geometrie con più vertici verranno suddivise in parti più piccole di questa dimensione. |
priority | Numero, facoltativo | La priorità dell'attività all'interno del progetto. Le attività con priorità più alta vengono pianificate prima. Deve essere un numero intero compreso tra 0 e 9999. Il valore predefinito è 100. |
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\u003eExports a FeatureCollection to Google Cloud Storage in various formats like CSV, GeoJSON, KML, KMZ, SHP, or TFRecord.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of export with options for file name, description, property selection, and geometry simplification.\u003c/p\u003e\n"],["\u003cp\u003eTasks can be prioritized for scheduling and monitored through the Tasks tab within the platform.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify a Cloud Storage bucket and file name prefix to organize exported data.\u003c/p\u003e\n"]]],["This document outlines how to export a FeatureCollection as a table to Google Cloud Storage using a batch task. The `Export.table.toCloudStorage` function requires a `collection` and allows for optional parameters: `description` (task name), `bucket` (destination), `fileNamePrefix`, `fileFormat` (CSV, GeoJSON, etc.), `selectors` (properties to include), `maxVertices` (geometry limit), and `priority` (task scheduling). The function creates a task accessible from the Tasks tab.\n"],null,["# Export.table.toCloudStorage\n\n\u003cbr /\u003e\n\nCreates a batch task to export a FeatureCollection as a table to Google Cloud Storage. Tasks can be started from the Tasks tab.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| `Export.table.toCloudStorage(collection, `*description* `, `*bucket* `, `*fileNamePrefix* `, `*fileFormat* `, `*selectors* `, `*maxVertices* `, `*priority*`)` | |\n\n| Argument | Type | Details |\n|------------------|----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `collection` | FeatureCollection | The feature collection to export. |\n| `description` | String, optional | A human-readable name of the task. Defaults to \"myExportTableTask\". |\n| `bucket` | String, optional | The Cloud Storage destination bucket. |\n| `fileNamePrefix` | String, optional | The string used as the output's prefix. A trailing \"/\" indicates a path. Defaults to the description. |\n| `fileFormat` | String, optional | The output format: \"CSV\" (default), \"GeoJSON\", \"KML\", \"KMZ\", \"SHP\", or \"TFRecord\". |\n| `selectors` | List\\\u003cString\\\u003e\\|String, optional | A list of properties to include in the export; either a single string with comma-separated names or a list of strings. |\n| `maxVertices` | Number, optional | Max number of uncut vertices per geometry; geometries with more vertices will be cut into pieces smaller than this size. |\n| `priority` | Number, optional | The priority of the task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100. |"]]