ee.Filter.contains
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יוצר מסנן אונארי או בינארי שמוחזר כ-True אם הצורה הגיאומטרית הימנית מוכלת בצורה הגיאומטרית השמאלית (צורות גיאומטריות ריקות לא מוכלות בשום דבר).
שימוש | החזרות |
---|
ee.Filter.contains(leftField, rightValue, rightField, leftValue, maxError) | סינון |
ארגומנט | סוג | פרטים |
---|
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 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\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. |"]]