ee.Filter.rangeContains
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt einen Filter zurück, der erfüllt wird, wenn der Wert des ausgewählten Felds im angegebenen Bereich liegt (einschließlich).
Nutzung | Ausgabe |
---|
ee.Filter.rangeContains(field, minValue, maxValue) | Filter |
Argument | Typ | Details |
---|
field | String | Eine Auswahl für die zu testende Property. |
minValue | Objekt | Die Untergrenze des Bereichs. |
maxValue | Objekt | Die Obergrenze des Bereichs. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eReturns a filter that passes if the selected property's value falls within a specified range, including both the lower and upper bounds.\u003c/p\u003e\n"],["\u003cp\u003eThe filter is constructed using the \u003ccode\u003eee.Filter.rangeContains()\u003c/code\u003e method, requiring the property name (\u003ccode\u003efield\u003c/code\u003e), minimum value (\u003ccode\u003eminValue\u003c/code\u003e), and maximum value (\u003ccode\u003emaxValue\u003c/code\u003e) as inputs.\u003c/p\u003e\n"],["\u003cp\u003eAccepts various data types for the minimum and maximum values, adapting to the property being evaluated.\u003c/p\u003e\n"]]],["The core functionality is creating a filter that checks if a specified field's value falls within a given range. It utilizes `ee.Filter.rangeContains(field, minValue, maxValue)` to construct this filter. The function requires three arguments: `field` (a string indicating the property to check), `minValue` (the lower bound), and `maxValue` (the upper bound). It returns a filter object that only passes if the field's value is within or equal to the specified minimum and maximum values.\n"],null,["# ee.Filter.rangeContains\n\nReturns a filter that passes if the value of the selected field is in the specified range (inclusive).\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------|---------|\n| `ee.Filter.rangeContains(field, minValue, maxValue)` | Filter |\n\n| Argument | Type | Details |\n|------------|--------|-------------------------------------------|\n| `field` | String | A selector for the property being tested. |\n| `minValue` | Object | The lower bound of the range. |\n| `maxValue` | Object | The upper bound of the range. |"]]