geetools.batch.Export.table.toCloudStorage#
- static geetools.batch.Export.table.toCloudStorage(collection, description='myExportTableTask', bucket=None, fileNamePrefix=None, fileFormat=None, selectors=None, maxVertices=None, priority=None, **kwargs)#
Creates a task to export a FeatureCollection to Google Cloud Storage.
- Parameters:
collection – The feature collection to be exported.
description – Human-readable name of the task.
bucket – The name of a Cloud Storage bucket for the export.
fileNamePrefix – Cloud Storage object name prefix for the export. Defaults to the name of the task.
fileFormat – The output format: “CSV” (default), “GeoJSON”, “KML”, “KMZ”, “SHP”, or “TFRecord”.
selectors – The list of properties to include in the output, as a list of strings or a comma-separated string. By default, all properties are included.
maxVertices – Max number of uncut vertices per geometry; geometries with more vertices will be cut into pieces smaller than this size.
priority – 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.
**kwargs – Holds other keyword arguments that may have been deprecated such as ‘outputBucket’.
- Returns:
An unstarted Task that exports the table to Google Cloud Storage.