ee.Feature.select
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ویژگی ها را از یک ویژگی با نام یا regex سازگار با RE2 انتخاب می کند و به صورت اختیاری آنها را تغییر نام می دهد.
استفاده | برمی گرداند | Feature. select (propertySelectors, newProperties , retainGeometry ) | عنصر |
استدلال | تایپ کنید | جزئیات | این: input | عنصر | ویژگی برای انتخاب خواص از. |
propertySelectors | فهرست کنید | فهرستی از نامها یا رجکسها که ویژگیهای انتخابی را مشخص میکند. |
newProperties | لیست، پیش فرض: null | نامهای جدید اختیاری برای ویژگیهای خروجی. باید با تعداد املاک انتخاب شده مطابقت داشته باشد. |
retainGeometry | بولی، پیش فرض: درست است | هنگامی که نادرست است، نتیجه یک هندسه NULL خواهد داشت. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eSelects properties from a given feature based on provided names or regular expressions.\u003c/p\u003e\n"],["\u003cp\u003eOptionally allows renaming the selected properties using a separate list.\u003c/p\u003e\n"],["\u003cp\u003eBy default, retains the original geometry of the feature, but this can be disabled to return only properties.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new Element containing only the selected and potentially renamed properties.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.select\n\nSelects properties from a feature by name or RE2-compatible regex and optionally renames them.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------|---------|\n| Feature.select`(propertySelectors, `*newProperties* `, `*retainGeometry*`)` | Element |\n\n| Argument | Type | Details |\n|---------------------|------------------------|---------------------------------------------------------------------------------------------|\n| this: `input` | Element | The feature to select properties from. |\n| `propertySelectors` | List | A list of names or regexes specifying the properties to select. |\n| `newProperties` | List, default: null | Optional new names for the output properties. Must match the number of properties selected. |\n| `retainGeometry` | Boolean, default: true | When false, the result will have a NULL geometry. |"]]