Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de
15 de abril de 2025 precisam
verificar a qualificação não comercial para manter o acesso ao Earth Engine.
ee.Filter.stringContains
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Cria um filtro unário ou binário que é aprovado se o operando à esquerda, uma string, contiver o operando à direita, também uma string.
Uso | Retorna |
---|
ee.Filter.stringContains(leftField, rightValue, rightField, leftValue) | Filtro |
Argumento | Tipo | Detalhes |
---|
leftField | String, padrão: null | Um seletor para o operando à esquerda. Não precisa ser especificado se "leftValue" for especificado. |
rightValue | Objeto, padrão: nulo | O valor do operando à direita. Não deve ser especificado se "rightField" for especificado. |
rightField | String, padrão: null | Um seletor para o operando à direita. Não precisa ser especificado se "rightValue" for especificado. |
leftValue | Objeto, padrão: nulo | O valor do operando à esquerda. Não deve ser especificado se "leftField" for especificado. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eCreates a filter that checks if a string contains another string.\u003c/p\u003e\n"],["\u003cp\u003eThis filter can be used to compare strings from two properties (fields) or a property and a given value.\u003c/p\u003e\n"],["\u003cp\u003eEither \u003ccode\u003eleftField\u003c/code\u003e/\u003ccode\u003erightValue\u003c/code\u003e or \u003ccode\u003erightField\u003c/code\u003e/\u003ccode\u003eleftValue\u003c/code\u003e pairs must be provided but not both.\u003c/p\u003e\n"],["\u003cp\u003eThe returned filter is either unary (operating on a single input) or binary (operating on two inputs).\u003c/p\u003e\n"]]],[],null,["# ee.Filter.stringContains\n\nCreates a unary or binary filter that passes if the left operand, a string, contains the right operand, also a string.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.stringContains(`*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\n| `leftField` | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |\n| `rightValue` | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |\n| `rightField` | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |\n| `leftValue` | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |"]]