Export.table.toDrive

Creates a batch task to export a FeatureCollection as a table to Drive. Tasks can be started from the Tasks tab.

UsageReturns
Export.table.toDrive(collection, description, folder, fileNamePrefix, fileFormat, selectors, maxVertices)
ArgumentTypeDetails
collectionFeatureCollection

The feature collection to export.

descriptionString, optional

A human-readable name of the task. May contain letters, numbers, -, _ (no spaces). Defaults to "myExportTableTask".

folderString, optional

The Google Drive Folder that the export will reside in. Note: (a) if the folder name exists at any level, the output is written to it, (b) if duplicate folder names exist, output is written to the most recently modified folder, (c) if the folder name does not exist, a new folder will be created at the root, and (d) folder names with separators (e.g. 'path/to/file') are interpreted as literal strings, not system paths. Defaults to Drive root.

fileNamePrefixString, optional

The filename prefix. May contain letters, numbers, -, _ (no spaces). Defaults to the description.

fileFormatString, optional

The output format: "CSV" (default), "GeoJSON", "KML", "KMZ", or "SHP", or "TFRecord".

selectorsList, optional

A list of properties to include in the export; either a single string with comma-separated names or a list of strings.

maxVerticesNumber, optional

Max number of uncut vertices per geometry; geometries with more vertices will be cut into pieces smaller than this size.