Export.table.toCloudStorage
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک کار دستهای برای صادر کردن FeatureCollection به عنوان جدول به Google Cloud Storage ایجاد میکند. کارها را می توان از برگه Tasks شروع کرد.
استفاده | برمی گرداند | Export.table.toCloudStorage(collection, description , bucket , fileNamePrefix , fileFormat , selectors , maxVertices , priority ) | |
استدلال | تایپ کنید | جزئیات | collection | مجموعه ویژگی ها | مجموعه ویژگی برای صادرات. |
description | رشته، اختیاری | نام کار قابل خواندن برای انسان. پیشفرض «myExportTableTask» است. |
bucket | رشته، اختیاری | سطل مقصد Cloud Storage. |
fileNamePrefix | رشته، اختیاری | رشته ای که به عنوان پیشوند خروجی استفاده می شود. یک "/" انتهایی یک مسیر را نشان می دهد. پیشفرض در توضیحات. |
fileFormat | رشته، اختیاری | فرمت خروجی: «CSV» (پیشفرض)، «GeoJSON»، «KML»، «KMZ»، «SHP» یا «TFRecord». |
selectors | List<String>|رشته، اختیاری | فهرست اموالی که باید در صادرات گنجانده شود. یک رشته با نام های جدا شده با کاما یا لیستی از رشته ها. |
maxVertices | شماره، اختیاری | حداکثر تعداد رئوس برش نخورده در هر هندسه. هندسه هایی با رئوس بیشتر به قطعات کوچکتر از این اندازه بریده می شوند. |
priority | شماره، اختیاری | اولویت کار در پروژه. کارهای با اولویت بالاتر زودتر برنامه ریزی می شوند. باید یک عدد صحیح بین 0 و 9999 باشد. پیش فرض 100 است. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]