AI-generated Key Takeaways
-
The
Export.table.toCloudStorage
function creates a batch task to export a FeatureCollection as a table to Google Cloud Storage. -
The function requires a FeatureCollection as input and has several optional arguments for customizing the export, including destination bucket, file name prefix, file format, selectors, max vertices, and priority.
-
Tasks created by this function can be started from the Tasks tab.
-
The default file format is "CSV", but other formats like "GeoJSON", "KML", "KMZ", "SHP", or "TFRecord" are also supported.
Usage | Returns |
---|---|
Export.table.toCloudStorage(collection, description, bucket, fileNamePrefix, fileFormat, selectors, maxVertices, priority) |
Argument | Type | Details |
---|---|---|
collection | FeatureCollection | The feature collection to export. |
description | String, optional | A human-readable name of the task. Defaults to "myExportTableTask". |
bucket | String, optional | The Cloud Storage destination bucket. |
fileNamePrefix | String, optional | The string used as the output's prefix. A trailing "/" indicates a path. Defaults to the description. |
fileFormat | String, optional | The output format: "CSV" (default), "GeoJSON", "KML", "KMZ", "SHP", or "TFRecord". |
selectors | List<String>|String, optional | A list of properties to include in the export; either a single string with comma-separated names or a list of strings. |
maxVertices | Number, optional | Max number of uncut vertices per geometry; geometries with more vertices will be cut into pieces smaller than this size. |
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. |