お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Filter.stringContains
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
左のオペランド(文字列)に右のオペランド(文字列)が含まれている場合にパスする単項または二項フィルタを作成します。
用途 | 戻り値 |
---|
ee.Filter.stringContains(leftField, rightValue, rightField, leftValue) | フィルタ |
引数 | タイプ | 詳細 |
---|
leftField | 文字列、デフォルト: null | 左オペランドのセレクタ。leftValue が指定されている場合は指定しないでください。 |
rightValue | オブジェクト、デフォルト: null | 右オペランドの値。rightField が指定されている場合は指定しないでください。 |
rightField | 文字列、デフォルト: null | 右オペランドのセレクタ。rightValue が指定されている場合は指定しないでください。 |
leftValue | オブジェクト、デフォルト: null | 左オペランドの値。leftField が指定されている場合は指定しないでください。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 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. |"]]