geetools.batch.Export.table.toBigQuery#
- static geetools.batch.Export.table.toBigQuery(collection, description='myExportTableTask', table=None, overwrite=False, append=False, selectors=None, maxVertices=None, priority=None, **kwargs)#
Creates a task to export a FeatureCollection to a BigQuery table.
This feature is in Preview, and the API and behavior may change significantly.
- Parameters:
collection – The feature collection to be exported.
description – Human-readable name of the task.
table – The fully-qualifed BigQuery destination table with “project_id.dataset_id.table_id” format.
overwrite – Whether the existing table should be overwritten by the results of this export. The overwrite and append parameters cannot be true simultaneously. The export fails if the table already exists and both overwrite and append are false.
append – Whether table data should be appended if the table already exists and has a compatible schema.
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.
- Returns:
An unstarted Task that exports the table.