ee.ImageCollection.map

Maps an algorithm over a collection.

Returns the mapped collection.

UsageReturns
ImageCollection.map(algorithm, dropNulls)Collection
ArgumentTypeDetails
this: collectionCollection

The Collection instance.

algorithmFunction

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.

dropNullsBoolean, optional

If true, the mapped algorithm is allowed to return nulls, and the elements for which it returns nulls will be dropped.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!