إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Filter.withinDistance
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تُنشئ هذه الدالة فلترًا أحاديًا أو ثنائيًا يجتاز الاختبار إذا كانت الهندسة اليسرى تقع ضمن مسافة محدّدة من الهندسة اليمنى. إذا تم استخدامها كشرط ربط، يتم استخدام هذه المسافة كمقياس ربط.
الاستخدام | المرتجعات |
---|
ee.Filter.withinDistance(distance, leftField, rightValue, rightField, leftValue, maxError) | تصفية |
الوسيطة | النوع | التفاصيل |
---|
distance | عدد عائم | الحدّ الأقصى للمسافة التي سيعرض الفلتر عندها القيمة "صحيح". |
leftField | سلسلة، القيمة التلقائية: null | أداة اختيار للمعامل الأيسر يجب عدم تحديدها إذا تم تحديد leftValue. |
rightValue | كائن، القيمة التلقائية: null | قيمة المعامل الأيمن يجب عدم تحديده إذا تم تحديد rightField. |
rightField | سلسلة، القيمة التلقائية: null | أداة اختيار للمعامل الأيمن يجب عدم تحديدها إذا تم تحديد rightValue. |
leftValue | كائن، القيمة التلقائية: null | قيمة المعامل الأيسر يجب عدم تحديدها في حال تحديد leftField. |
maxError | ErrorMargin، اختياري | الحدّ الأقصى لخطأ إعادة العرض المسموح به أثناء تطبيق الفلتر |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eDetermines if one geometry lies within a specified distance of another, useful for filtering and spatial joins.\u003c/p\u003e\n"],["\u003cp\u003eOperates on two geometries, allowing specification by field or direct value for both.\u003c/p\u003e\n"],["\u003cp\u003eDistance is a crucial parameter defining the maximum allowable separation for the filter to pass.\u003c/p\u003e\n"],["\u003cp\u003eOffers flexibility with optional error margin control during reprojection.\u003c/p\u003e\n"]]],["This functionality generates a filter based on the proximity of two geometries. It verifies if a left geometry falls within a designated `distance` of a right geometry. The `distance` parameter dictates the threshold for a true result. It accepts parameters such as `leftField`, `rightValue`, `rightField`, `leftValue`, and `maxError`. The filter's operation can be defined via fields or direct values for each geometry. When used in a join, it measures join proximity by the specified `distance`.\n"],null,["# ee.Filter.withinDistance\n\nCreates a unary or binary filter that passes if the left geometry is within a specified distance of the right geometry. If used as a join condition, this distance is used as a join measure.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.withinDistance(distance, `*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue* `, `*maxError*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\n| `distance` | Float | The maximum distance for which the filter will return true. |\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. |"]]