Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ee.Filter.rangeContains
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce un filtro che viene superato se il valore del campo selezionato rientra nell'intervallo specificato (incluso).
Utilizzo | Resi |
---|
ee.Filter.rangeContains(field, minValue, maxValue) | Filtro |
Argomento | Tipo | Dettagli |
---|
field | Stringa | Un selettore per la proprietà in fase di test. |
minValue | Oggetto | Il limite inferiore dell'intervallo. |
maxValue | Oggetto | Il limite superiore dell'intervallo. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]