ee.data.listFeatures
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ویژگی های یک دارایی جدول را فهرست کنید.
نتایج تماس را برمی گرداند. اگر پاسخ تماس مشخص شده باشد، تهی است.
استفاده | برمی گرداند | ee.data.listFeatures(asset, params, callback ) | api.ListFeaturesResponse |
استدلال | تایپ کنید | جزئیات | asset | رشته | شناسه دارایی جدول برای پرس و جو. |
params | api.ProjectsAssetsListFeaturesNamedParameters | یک شی حاوی پارامترهای درخواست با مقادیر ممکن زیر: pageSize (تعداد): حداکثر تعداد نتایج اختیاری در هر صفحه، پیش فرض 1000 است. | pageToken (رشته): یک نشانه اختیاری که صفحه ای از نتایجی را که سرور باید برگرداند، مشخص می کند، معمولاً از شی پاسخ گرفته می شود. | region (رشته): در صورت وجود، هندسه ای که یک ناحیه پرس و جو را تعریف می کند، که به عنوان یک رشته هندسی GeoJSON مشخص می شود (به RFC 7946 مراجعه کنید). | filter (رشته های جدا شده با کاما): در صورت وجود، فیلترهای ویژگی ساده اضافی را مشخص می کند (به https://google.aip.dev/160 مراجعه کنید). |
|
callback | عملکرد، اختیاری | یک فراخوان اختیاری که با دو پارامتر فراخوانی میشود: اولی لیستی از ویژگیها و دومی یک رشته خطا در هنگام شکست است. در صورت عدم ارائه، تماس به صورت همزمان انجام می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eLists features for a specified table asset using its ID.\u003c/p\u003e\n"],["\u003cp\u003eAllows optional parameters for filtering, pagination, and regional queries.\u003c/p\u003e\n"],["\u003cp\u003eReturns an \u003ccode\u003eapi.ListFeaturesResponse\u003c/code\u003e object containing the features or null if a callback function is provided.\u003c/p\u003e\n"],["\u003cp\u003eOptionally accepts a callback function for asynchronous execution, receiving the features and potential errors.\u003c/p\u003e\n"]]],["The core functionality involves listing features for a specified table asset. The `ee.data.listFeatures` function accepts an asset ID (`asset`) and request parameters (`params`). Parameters include `pageSize`, `pageToken`, `region`, and `filter`. It can optionally take a `callback` function for asynchronous calls. The function returns a `api.ListFeaturesResponse` object containing the features list, or it returns `null` if a callback is provided. It retrieves information from an asset and allows filtering and pagination.\n"],null,["# ee.data.listFeatures\n\n\u003cbr /\u003e\n\nList features for a given table asset.\n\n\u003cbr /\u003e\n\nReturns the call results. Null if a callback is specified.\n\n| Usage | Returns |\n|-----------------------------------------------------|--------------------------|\n| `ee.data.listFeatures(asset, params, `*callback*`)` | api.ListFeaturesResponse |\n\n| Argument | Type | Details |\n|------------|-----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `asset` | String | The table asset ID to query. |\n| `params` | api.ProjectsAssetsListFeaturesNamedParameters | An object containing request parameters with the following possible values: |-------------------------------------------------------------------------------------------------------------------------------------------| | ` pageSize ` (number): An optional maximum number of results per page, default is 1000. | | ` pageToken ` (string): An optional token identifying a page of results the server should return, usually taken from the response object. | | ` region ` (string): If present, a geometry defining a query region, specified as a GeoJSON geometry string (see RFC 7946). | | ` filter ` (comma-separated strings): If present, specifies additional simple property filters (see https://google.aip.dev/160). | |\n| `callback` | Function, optional | An optional callback, called with two parameters: the first is the resulting list of features and the second is an error string on failure. If not supplied, the call is made synchronously. |"]]