ee.data.listFeatures
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी टेबल ऐसेट के लिए उपलब्ध सुविधाओं की सूची बनाएं.
कॉल के नतीजे दिखाता है. अगर कॉलबैक तय किया गया है, तो इसकी वैल्यू शून्य होती है.
| इस्तेमाल | रिटर्न |
|---|
ee.data.listFeatures(asset, params, callback) | api.ListFeaturesResponse |
| आर्ग्यूमेंट | टाइप | विवरण |
|---|
asset | स्ट्रिंग | क्वेरी करने के लिए टेबल ऐसेट का आईडी. |
params | api.ProjectsAssetsListFeaturesNamedParameters | यह एक ऐसा ऑब्जेक्ट है जिसमें अनुरोध के पैरामीटर शामिल होते हैं. इनकी ये वैल्यू हो सकती हैं:
pageSize (संख्या): यह हर पेज पर ज़्यादा से ज़्यादा नतीजों की संख्या होती है. यह विकल्प इस्तेमाल करना ज़रूरी नहीं है. डिफ़ॉल्ट रूप से यह संख्या 1, 000 होती है. |
pageToken (string): यह एक ऐसा टोकन है जो यह पहचान करता है कि सर्वर को नतीजों का कौनसा पेज दिखाना चाहिए. आम तौर पर, इसे रिस्पॉन्स ऑब्जेक्ट से लिया जाता है. |
region (string): अगर मौजूद है, तो क्वेरी क्षेत्र को तय करने वाली ज्यामिति. इसे GeoJSON ज्यामिति स्ट्रिंग के तौर पर तय किया जाता है (RFC 7946 देखें). |
filter (कॉमा लगाकर अलग की गई स्ट्रिंग): अगर यह मौजूद है, तो यह सामान्य प्रॉपर्टी फ़िल्टर के बारे में अतिरिक्त जानकारी देता है. (https://google.aip.dev/160 देखें). |
|
callback | फ़ंक्शन, ज़रूरी नहीं है | यह एक वैकल्पिक कॉलबैक है. इसे दो पैरामीटर के साथ कॉल किया जाता है: पहला पैरामीटर, सुविधाओं की सूची है और दूसरा पैरामीटर, गड़बड़ी होने पर गड़बड़ी की स्ट्रिंग है. अगर यह पैरामीटर नहीं दिया जाता है, तो कॉल सिंक्रोनस तरीके से किया जाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\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. |"]]