Method: projects.assets.listFeatures
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेबल ऐसेट में सुविधाओं की सूची बनाता है. इस तरीके से, कॉलर किसी टेबल पर स्पेसटाइम और प्रॉपर्टी फ़िल्टर लागू कर सकता है. नतीजे, GeoJSON फ़ीचर ऑब्जेक्ट की सूची के तौर पर दिखाए जाते हैं.
एचटीटीपी अनुरोध
GET https://earthengine.googleapis.com/v1beta/{asset=projects/*/assets/**}:listFeatures
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
asset |
string
ज़रूरी है. सूची में शामिल करने के लिए टेबल ऐसेट का नाम. asset का फ़ॉर्मैट "projects/*/assets/**" है (उदाहरण के लिए, "projects/earthengine-legacy/assets/users/[USER]/[ASSET]"). उपयोगकर्ता के मालिकाना हक वाली सभी एसेट, "earthengine-legacy" प्रोजेक्ट में शामिल होती हैं. उदाहरण के लिए, "projects/earthengine-legacy/assets/users/foo/bar"). बाकी सभी एसेट, "earthengine-public" प्रोजेक्ट के तहत आती हैं. उदाहरण के लिए, "projects/earthengine-public/assets/LANDSAT").
अनुमति पाने के लिए, दिए गए संसाधन asset पर IAM की यह अनुमति ज़रूरी है:
|
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
integer
हर पेज पर नतीजों की ज़्यादा से ज़्यादा संख्या. ऐसा हो सकता है कि सर्वर, अनुरोध की गई संख्या से कम ऐसेट दिखाए. अगर पेज साइज़ की जानकारी नहीं दी गई है, तो डिफ़ॉल्ट रूप से हर पेज पर 1,000 नतीजे दिखेंगे.
|
pageToken |
string
नतीजों के उस पेज की पहचान करने वाला टोकन जिसे सर्वर को दिखाना चाहिए. आम तौर पर, यह assets.listFeatures वाले तरीके के पिछले कॉल से मिली ListFeaturesResponse.next_page_token की वैल्यू होती है.
|
region |
string
अगर मौजूद है, तो क्वेरी के इलाके की जानकारी देने वाली ज्यामिति. इसे GeoJSON ज्यामिति स्ट्रिंग के तौर पर दिखाया जाता है (आरएफ़सी 7946 देखें).
|
filter |
string
अगर मौजूद है, तो यह प्रॉपर्टी के लिए अन्य आसान फ़िल्टर तय करता है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
EarthEngineService.ListFeatures के लिए रिस्पॉन्स मैसेज.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"type": string,
"features": [
{
object (Feature )
}
],
"nextPageToken": string
} |
फ़ील्ड |
type |
string
इसमें हमेशा "FeatureCollection" नाम की स्टैटिक स्ट्रिंग होती है, जो इसे GeoJSON FeatureCollection ऑब्जेक्ट के तौर पर मार्क करती है.
|
features[] |
object (Feature )
क्वेरी से मैच होने वाली सुविधाओं की सूची, GeoJSON फ़ीचर ऑब्जेक्ट की सूची के तौर पर (RFC 7946 देखें). इसमें "टाइप" नाम वाले फ़ील्ड में "Feature" स्ट्रिंग, "ज्यामिति" नाम वाले फ़ील्ड में ज्यामिति, और "प्रॉपर्टी" नाम वाले फ़ील्ड में कुंजी/वैल्यू प्रॉपर्टी शामिल होती हैं.
|
nextPageToken |
string
नतीजों का अगला पेज पाने के लिए टोकन. नतीजों का अगला पेज पाने के लिए, assets.listFeatures तरीके के अगले कॉल में ListFeaturesRequest.page_token फ़ील्ड में यह वैल्यू पास करें.
|
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eLists features from a specified Earth Engine table asset using the \u003ccode\u003elistFeatures\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering of table data by spatiotemporal and property criteria using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eReturns results as a GeoJSON FeatureCollection containing a list of features and a token for pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific IAM permissions or OAuth scopes for authorization to access and retrieve data.\u003c/p\u003e\n"]]],[],null,["# Method: projects.assets.listFeatures\n\nLists the features in a table asset. This method allows the caller to apply spatiotemporal and property filters to a table. Results are returned as a list of GeoJSON feature objects.\n\n### HTTP request\n\n`GET https://earthengine.googleapis.com/v1beta/{asset=projects/*/assets/**}:listFeatures`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `asset` | `string` Required. The name of the table asset to list. `asset` is of the format \"projects/\\*/assets/\\*\\*\" (e.g., \"projects/earthengine-legacy/assets/users/\\[USER\\]/\\[ASSET\\]\"). All user-owned assets are under the project \"earthengine-legacy\" (e.g., \"projects/earthengine-legacy/assets/users/foo/bar\"). All other assets are under the project \"earthengine-public\" (e.g., \"projects/earthengine-public/assets/LANDSAT\"). Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `asset`: - `earthengine.assets.get` |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of results per page. The server may return fewer assets than requested. If unspecified, the page size default is 1000 results per page. |\n| `pageToken` | `string` A token identifying a page of results the server should return. Typically, this is the value of [ListFeaturesResponse.next_page_token](/earth-engine/reference/rest/v1beta/projects.assets/listFeatures#body.ListFeaturesResponse.FIELDS.next_page_token) returned from the previous call to the `assets.listFeatures` method. |\n| `region` | `string` If present, a geometry defining a query region, specified as a GeoJSON geometry string (see RFC 7946). |\n| `filter` | `string` If present, specifies additional simple property filters. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for EarthEngineService.ListFeatures.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"type\": string, \"features\": [ { object (/earth-engine/reference/rest/v1beta/Feature) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `type` | `string` Always contains the constant string \"FeatureCollection\", marking this as a GeoJSON FeatureCollection object. |\n| `features[]` | `object (`[Feature](/earth-engine/reference/rest/v1beta/Feature)`)` The list of features matching the query, as a list of GeoJSON feature objects (see RFC 7946) containing the string \"Feature\" in a field named \"type\", the geometry in a field named \"geometry\", and key/value properties in a field named \"properties\". |\n| `nextPageToken` | `string` A token to retrieve the next page of results. Pass this value in the [ListFeaturesRequest.page_token](/earth-engine/reference/rest/v1beta/projects.assets/listFeatures#body.QUERY_PARAMETERS.page_token) field in the subsequent call to the `assets.listFeatures` method to retrieve the next page of results. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]