Export.table.toBigQuery
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Erstellt einen Batchvorgang zum Exportieren einer FeatureCollection nach BigQuery. Aufgaben können über den Tab „Aufgaben“ gestartet werden.
Diese Funktion ist in der Vorschauphase. Die API und das Verhalten können sich erheblich ändern. Weitere Informationen finden Sie unter https://developers.google.com/earth-engine/guides/export_to_bigquery.
Nutzung | Ausgabe |
---|
Export.table.toBigQuery(collection, description, table, overwrite, append, selectors, maxVertices, priority) | |
Argument | Typ | Details |
---|
collection | FeatureCollection | Die zu exportierende Sammlung von Funktionen. |
description | String, optional | Ein für Menschen lesbarer Name der Aufgabe. Der Standardwert ist „myExportTableTask“. |
table | String, optional | Die vollständig qualifizierte BigQuery-Zieltabelle im folgenden Format: „project_id.dataset_id.table_id“. |
overwrite | Boolesch, optional | Gibt an, ob die vorhandene Tabelle mit dem Ergebnis dieses Exports überschrieben werden soll. Die Standardeinstellung ist "false". Die Parameter „overwrite“ und „append“ können nicht gleichzeitig „true“ sein. Der Export schlägt fehl, wenn die Tabelle bereits vorhanden ist und sowohl „overwrite“ als auch „append“ auf „false“ gesetzt sind. |
append | Boolesch, optional | Gibt an, ob Tabellendaten angehängt werden sollen, wenn die Tabelle bereits vorhanden ist und ein kompatibles Schema hat. Die Standardeinstellung ist "false". Die Parameter „overwrite“ und „append“ können nicht gleichzeitig „true“ sein. Der Export schlägt fehl, wenn die Tabelle bereits vorhanden ist und sowohl „overwrite“ als auch „append“ auf „false“ gesetzt sind. |
selectors | List<String>|String, optional | Eine Liste der Eigenschaften, die in den Export aufgenommen werden sollen. Dies kann entweder ein einzelner String mit durch Kommas getrennten Namen oder eine Liste von Strings sein. |
maxVertices | Nummer, optional | Maximale Anzahl von ungeschnittenen Knotenpunkten pro Geometrie. Geometrien mit mehr Knotenpunkten werden in kleinere Teile zerlegt. |
priority | Nummer, optional | Die Priorität der Aufgabe innerhalb des Projekts. Aufgaben mit höherer Priorität werden früher geplant. Muss eine Ganzzahl zwischen 0 und 9999 sein. Die Standardeinstellung ist 100. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eExports a FeatureCollection to a BigQuery table using a batch task, accessible via the Tasks tab.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is currently in Preview, so the API and behavior are subject to change.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize export options, such as table name, overwriting or appending data, selecting properties, and setting task priority.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided link for detailed information and guidance on exporting to BigQuery.\u003c/p\u003e\n"]]],[],null,["# Export.table.toBigQuery\n\n\u003cbr /\u003e\n\nCreates a batch task to export a FeatureCollection to BigQuery. Tasks can be started from the Tasks tab.\n\n\u003cbr /\u003e\n\nNote that this feature is in Preview, and the API and behavior may change significantly. For more information, see https://developers.google.com/earth-engine/guides/export_to_bigquery\n\n| Usage | Returns |\n|--------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| `Export.table.toBigQuery(collection, `*description* `, `*table* `, `*overwrite* `, `*append* `, `*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| `table` | String, optional | The fully-qualifed BigQuery destination table in the following format: \"project_id.dataset_id.table_id\". |\n| `overwrite` | Boolean, optional | Whether the existing table should be overwritten by the result of this export. Defaults to false. The \\`overwrite\\` and \\`append\\` parameters cannot be \\`true\\` simultaneously. The export fails if the table already exists and both \\`overwrite\\` and \\`append\\` are \\`false\\`. |\n| `append` | Boolean, optional | Whether table data should be appended if the table already exists and has a compatible schema. Defaults to false. The \\`overwrite\\` and \\`append\\` parameters cannot be \\`true\\` simultaneously. The export fails if the table already exists and both \\`overwrite\\` and \\`append\\` are \\`false\\`. |\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. |"]]