Google Earth Engine (GEE) - Using 1000 random sample points to extract yearly NDVI values (maximum value synthesis) - Shandong Province as an example

The purpose of the experiment in this paper is to obtain the NDVI value of each point by setting random sample points or the value of other bands if you want, but the operation of the bands is different.

The functions used in this experiment are:

ee.FeatureCollection.randomPoints(region, pointsseedmaxError)

Generates points that are uniformly random on the sphere, and within the given region.

Generates uniform and random points on the sphere within a given area.

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.

The seed is a serial number, and this serial number is given to an array manager. With this serial number, you take out an array from the manager, and this array is the random number you get through that serial number.

maxError (ErrorMargin, optional):

The maximum amount of error tolerated when performing any necessary reprojection.

Returns: FeatureCollection

 The statistics of the sample area below, here is a set collection mainly, the statistics are performed point by point and finally aggregated together

Guess you like

Origin blog.csdn.net/qq_31988139/article/details/123678806