ee.Feature.toArray
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, किसी ऑब्जेक्ट की दी गई प्रॉपर्टी से एक अरे बनाता है. ये सभी प्रॉपर्टी संख्याएं होनी चाहिए.
इस्तेमाल | रिटर्न |
---|
Feature.toArray(properties) | Array |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: feature | सुविधा | वह ऑब्जेक्ट जिससे ऐरे प्रॉपर्टी चुनी जानी हैं. |
properties | सूची | हर ऐरे एलिमेंट के लिए प्रॉपर्टी सिलेक्टर. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003e\u003ccode\u003eFeature.toArray()\u003c/code\u003e generates a numerical array from specified object properties.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires a Feature object and a list of property selectors as input.\u003c/p\u003e\n"],["\u003cp\u003eAll selected properties of the object must contain numerical values for array creation.\u003c/p\u003e\n"]]],["Transforms an object into an array of numbers. The `toArray` method, accessed via a `Feature` object, accepts a list of `properties`. These properties, all numerical, are extracted from the `Feature` object and arranged into an array. Each property selector in the list corresponds to an element in the resulting array. The method returns an `Array` containing the selected numerical values.\n"],null,["# ee.Feature.toArray\n\nCreates an array from the given properties of an object, which must all be numbers.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------|---------|\n| Feature.toArray`(properties)` | Array |\n\n| Argument | Type | Details |\n|-----------------|---------|---------------------------------------------------|\n| this: `feature` | Feature | The object from which to select array properties. |\n| `properties` | List | The property selectors for each array element. |"]]