Announcement: All noncommercial projects registered to use Earth Engine beforeApril 15, 2025 mustverify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.

ee.Filter.area

Returns a filter that passes if the specified geometry has an area within the given range (inclusive).

UsageReturns
ee.Filter.area(min, max,maxError,geometrySelector)Filter
ArgumentTypeDetails
minFloatMinimum area in square meters (inclusive).
maxFloatMaximum area in square meters (inclusive).
maxErrorErrorMargin, default: nullThe maximum allowed error for computing the geometry's area.
geometrySelectorString, default: nullThe name of the geometry property to use for filtering. Leave blank or use '.geo' to operate on the object's geometry.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-10-06 UTC.