Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
Export.table.toCloudStorage
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Membuat tugas batch untuk mengekspor FeatureCollection sebagai tabel ke Google Cloud Storage. Tugas dapat dimulai dari tab Tasks.
Penggunaan | Hasil |
---|
Export.table.toCloudStorage(collection, description, bucket, fileNamePrefix, fileFormat, selectors, maxVertices, priority) | |
Argumen | Jenis | Detail |
---|
collection | FeatureCollection | Koleksi fitur yang akan diekspor. |
description | String, opsional | Nama tugas yang dapat dibaca manusia. Defaultnya adalah "myExportTableTask". |
bucket | String, opsional | Bucket tujuan Cloud Storage. |
fileNamePrefix | String, opsional | String yang digunakan sebagai awalan output. "/" di akhir menunjukkan jalur. Default-nya adalah deskripsi. |
fileFormat | String, opsional | Format output: "CSV" (default),
"GeoJSON", "KML", "KMZ", "SHP", atau "TFRecord". |
selectors | List<String>|String, opsional | Daftar properti yang akan disertakan dalam ekspor; berupa string tunggal dengan nama yang dipisahkan koma atau daftar string. |
maxVertices | Nomor, opsional | Jumlah maksimum verteks yang tidak dipotong per geometri; geometri dengan lebih banyak verteks akan dipotong menjadi beberapa bagian yang lebih kecil dari ukuran ini. |
priority | Nomor, opsional | Prioritas tugas dalam project. Tugas dengan prioritas lebih tinggi dijadwalkan lebih awal. Harus berupa bilangan bulat antara 0 dan 9999. Setelan defaultnya adalah 100. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eExports a FeatureCollection to Google Cloud Storage in various formats like CSV, GeoJSON, KML, KMZ, SHP, or TFRecord.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of export with options for file name, description, property selection, and geometry simplification.\u003c/p\u003e\n"],["\u003cp\u003eTasks can be prioritized for scheduling and monitored through the Tasks tab within the platform.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify a Cloud Storage bucket and file name prefix to organize exported data.\u003c/p\u003e\n"]]],["This document outlines how to export a FeatureCollection as a table to Google Cloud Storage using a batch task. The `Export.table.toCloudStorage` function requires a `collection` and allows for optional parameters: `description` (task name), `bucket` (destination), `fileNamePrefix`, `fileFormat` (CSV, GeoJSON, etc.), `selectors` (properties to include), `maxVertices` (geometry limit), and `priority` (task scheduling). The function creates a task accessible from the Tasks tab.\n"],null,["# Export.table.toCloudStorage\n\n\u003cbr /\u003e\n\nCreates a batch task to export a FeatureCollection as a table to Google Cloud Storage. Tasks can be started from the Tasks tab.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| `Export.table.toCloudStorage(collection, `*description* `, `*bucket* `, `*fileNamePrefix* `, `*fileFormat* `, `*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| `bucket` | String, optional | The Cloud Storage destination bucket. |\n| `fileNamePrefix` | String, optional | The string used as the output's prefix. A trailing \"/\" indicates a path. Defaults to the description. |\n| `fileFormat` | String, optional | The output format: \"CSV\" (default), \"GeoJSON\", \"KML\", \"KMZ\", \"SHP\", or \"TFRecord\". |\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. |"]]