ee.Filter.area
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה מסנן שעובר אם לגיאומטריה שצוינה יש שטח בטווח הנתון (כולל).
שימוש | החזרות |
---|
ee.Filter.area(min, max, maxError, geometrySelector) | סינון |
ארגומנט | סוג | פרטים |
---|
min | מספר ממשי (float) | השטח המינימלי במטרים רבועים (כולל). |
max | מספר ממשי (float) | השטח המקסימלי במטרים רבועים (כולל). |
maxError | ErrorMargin, ברירת מחדל: null | השגיאה המקסימלית המותרת בחישוב השטח של הגיאומטריה. |
geometrySelector | מחרוזת, ברירת מחדל: null | השם של מאפיין הגיאומטריה שמשמש לסינון. משאירים את השדה ריק או משתמשים ב-'.geo' כדי להפעיל את הגיאומטריה של האובייקט. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eFilters geometries based on their area, accepting a minimum and maximum area in square meters.\u003c/p\u003e\n"],["\u003cp\u003eIncludes optional parameters to specify the maximum allowed error for area calculation and the geometry property to use.\u003c/p\u003e\n"],["\u003cp\u003eUses inclusive ranges, meaning geometries with areas equal to the minimum or maximum are included.\u003c/p\u003e\n"]]],[],null,["# ee.Filter.area\n\nReturns a filter that passes if the specified geometry has an area within the given range (inclusive).\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------|---------|\n| `ee.Filter.area(min, max, `*maxError* `, `*geometrySelector*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------------|----------------------------|------------------------------------------------------------------------------------------------------------------------|\n| `min` | Float | Minimum area in square meters (inclusive). |\n| `max` | Float | Maximum area in square meters (inclusive). |\n| `maxError` | ErrorMargin, default: null | The maximum allowed error for computing the geometry's area. |\n| `geometrySelector` | String, default: null | The name of the geometry property to use for filtering. Leave blank or use '.geo' to operate on the object's geometry. |"]]