إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Feature.toArray
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تنشئ هذه الدالة مصفوفة من السمات المحدّدة لعنصر ما، ويجب أن تكون جميعها أرقامًا.
الاستخدام | المرتجعات |
---|
Feature.toArray(properties) | مصفوفة |
الوسيطة | النوع | التفاصيل |
---|
هذا: feature | الميزة | العنصر الذي سيتم اختيار سمات المصفوفة منه. |
properties | قائمة | محدّدات الموقع لكل عنصر من عناصر المصفوفة |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]