公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Filter
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
建構新篩選器。這個建構函式接受下列引數:
- 其他篩選條件。
- 篩選器清單 (會隱含地以 AND 組合)。
- 傳回篩選器的 ComputedObject。使用者不應建立這些項目,因為這些項目是由下列產生器函式產生。
引數 | 類型 | 詳細資料 |
---|
filter | 篩選器|List<Object>|Object,選用 | 可新增自選篩選條件。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eCreates a new filter object, potentially based on an existing filter, a list of filters (combined with AND logic), or a ComputedObject.\u003c/p\u003e\n"],["\u003cp\u003eUsers typically won't create ComputedObjects directly; they're generated by specific functions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eee.Filter()\u003c/code\u003e constructor can optionally take an existing filter or a list of filters as an argument.\u003c/p\u003e\n"]]],["The `ee.Filter` constructor creates a new filter, accepting either another filter, a list of filters (treated as an AND operation), or a ComputedObject that returns a filter. Users can provide an optional filter, which can be either a single filter or a list. The function returns a new `Filter` object. The `ee.Filter` function is used as `ee.Filter(*filter*)`.\n"],null,["# ee.Filter\n\n\u003cbr /\u003e\n\nConstructs a new filter. This constructor accepts the following args:\n\n\u003cbr /\u003e\n\n- Another filter.\n\n- A list of filters (which are implicitly ANDed together).\n\n- A ComputedObject returning a filter. Users shouldn't be making these; they're produced by the generator functions below.\n\n| Usage | Returns |\n|-------------------------|---------|\n| `ee.Filter(`*filter*`)` | Filter |\n\n| Argument | Type | Details |\n|----------|------------------------------------------|-------------------------|\n| `filter` | Filter\\|List\\\u003cObject\\\u003e\\|Object, optional | Optional filter to add. |"]]