函数:
ee.FeatureCollection.randomPoints(region, points, seed, maxError)
Generates points that are uniformly random on the sphere, and within the given region.
生成球体上均匀随机的点,并在给定的区域内。
Arguments:
region (Geometry):
The region to generate points for.
points (Integer, default: 1000):
The number of points to generate.
seed (Long, default: 0):
A seed for the random number generator.
maxError (ErrorMargin, optional):
The maximum amount of error tolerated when performing any necessary reprojection.
Returns: FeatureCollection
reduce(reducer, parallelScale)
Applies a reducer across all of the images in a collection.
If the reducer has a single input, it will be applied separately to each band of th