ee.Filter.area
Returns a filter that passes if the specified geometry has an area within the given range (inclusive).
Usage | Returns |
---|
ee.Filter.area(min, max, maxError, geometrySelector) | Filter |
Argument | Type | Details |
---|
min | Float | Minimum area in square meters (inclusive). |
max | Float | Maximum area in square meters (inclusive). |
maxError | ErrorMargin, default: null | The maximum allowed error for computing the geometry's area. |
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Filters geometries based on their area, accepting a minimum and maximum area in square meters."],["Includes optional parameters to specify the maximum allowed error for area calculation and the geometry property to use."],["Uses inclusive ranges, meaning geometries with areas equal to the minimum or maximum are included."]]],[]]