Google Earth Engine (GEE) - batch creation of buffers with featurecollection vector collections (faces)

Many times we know how to create a buffer for a vector, but we don’t know how to perform batch buffer analysis on a collection of vectors, so here we need to create a loop, that is, use map to analyze and operate on each vector separately. Here we need to pay attention to one more point. Finally, we need to convert each vector into its geometry, so that the layer can be loaded and displayed.

 

function:

map(algorithm, dropNulls)

Maps an algorithm over a collection.

Returns the mapped collection.

Arguments:

this:collection (Collection):

The Collection instance.

algorithm (Function):

The operation to map over the images or features of the collection. A JavaScript function that receives an image or features and returns one. The function is called only once and the result is captured as a description, so it cannot perform imperative operations or rely on external state.

dropNulls (Boolean, optional):

If true, the

Guess you like

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