过滤筛选 FeatureCollection
类似于过滤筛选 ImageCollection
。(请参阅过滤 ImageCollection 部分)。还有的featureCollection.filterDate()
和featureCollection.filterBounds()
方便的方法和 featureCollection.filter()
用于任何适用的使用的方法 ee.Filter
。
本次案例通过一个矩形框作为边界筛选,而通过一个波段信息进行了属性的条件筛选,注意用到的函数:
filterBounds(geometry)
通过与几何的交集过滤集合的快捷方式。集合中具有无法与给定几何相交的足迹的对象将被排除。
Shortcut to filter a collection by intersection with geometry. Items in the collection with a footprint that fails to intersect the given geometry will be excluded.
This is equivalent to this.filter(ee.Filter.bounds(...)).
Returns the filtered collection.
Arguments:
this:collection (Collection):
The Collection instance.
g