ee.Filter.isContained
Creates a unary or binary filter that passes if the right geometry contains the left geometry (empty geometries are not contained in anything).
Usage | Returns |
---|
ee.Filter.isContained(leftField, rightValue, rightField, leftValue, maxError) | Filter |
Argument | Type | Details |
---|
leftField | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |
rightValue | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |
rightField | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |
leftValue | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |
maxError | ErrorMargin, optional | The maximum reprojection error allowed during filter application. |
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."],[[["The `ee.Filter.isContained` function creates a filter that checks if one geometry fully contains another."],["It can be used to filter data based on spatial relationships between two geometries, either by specifying fields or direct values."],["The filter considers geometries to be contained even if their boundaries overlap."],["An optional `maxError` parameter can be included to account for potential reprojection inaccuracies."]]],["This filter determines if a left geometry is contained within a right geometry. It uses `ee.Filter.isContained()` and accepts either field selectors (`leftField`, `rightField`) or specific values (`leftValue`, `rightValue`) for each geometry. The filter is unary or binary based on the provided inputs. The `maxError` parameter allows setting a tolerance for reprojection errors. Empty geometries are not considered contained in any other geometry.\n"]]