ee.Filter.contains
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک فیلتر یکنواخت یا دودویی ایجاد می کند که اگر هندسه سمت چپ حاوی هندسه سمت راست باشد، عبور می کند (هندسه های خالی در هیچ چیزی وجود ندارد).
استفاده | برمی گرداند | ee.Filter.contains( leftField , rightValue , rightField , leftValue , maxError ) | فیلتر کنید |
استدلال | تایپ کنید | جزئیات | leftField | رشته، پیش فرض: null | یک انتخابگر برای عملوند سمت چپ. اگر leftValue مشخص شده باشد، نباید مشخص شود. |
rightValue | Object، پیش فرض: null | مقدار عملوند مناسب اگر rightField مشخص شده باشد، نباید مشخص شود. |
rightField | رشته، پیش فرض: null | انتخابگر برای عملوند مناسب. اگر rightValue مشخص شده باشد، نباید مشخص شود. |
leftValue | Object، پیش فرض: null | مقدار عملوند سمت چپ اگر leftField مشخص شده باشد، نباید مشخص شود. |
maxError | ErrorMargin، اختیاری است | حداکثر خطای بازپرداخت مجاز در هنگام اعمال فیلتر. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eDetermines if a geometry completely encloses another geometry, passing if the left geometry contains the right geometry.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes either field selectors or direct values for both the left and right geometries in the comparison.\u003c/p\u003e\n"],["\u003cp\u003eEmpty geometries are considered to not be contained within any other geometry.\u003c/p\u003e\n"],["\u003cp\u003eIncludes an optional \u003ccode\u003emaxError\u003c/code\u003e parameter to control the allowable reprojection error during the filter's application.\u003c/p\u003e\n"]]],["This describes the creation of a filter that checks if a left geometry contains a right geometry. The filter, accessible via `ee.Filter.contains`, accepts either `leftField` and `rightField` (selectors) or `leftValue` and `rightValue` (objects) to define the geometries. An optional `maxError` argument specifies the maximum allowable reprojection error. The function returns a `Filter` object. Empty geometries are never considered contained.\n"],null,["# ee.Filter.contains\n\nCreates a unary or binary filter that passes if the left geometry contains the right geometry (empty geometries are not contained in anything).\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.contains(`*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue* `, `*maxError*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\n| `leftField` | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |\n| `rightValue` | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |\n| `rightField` | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |\n| `leftValue` | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |\n| `maxError` | ErrorMargin, optional | The maximum reprojection error allowed during filter application. |"]]