ee.FeatureCollection.makeArray

Add a 1-D Array to each feature in a collection by combining a list of properties for each feature into a 1-D Array. All of the properties must be numeric values. If a feature doesn't contain all of the named properties, or any of them aren't numeric, the feature will be dropped from the resulting collection.

UsageReturns
FeatureCollection.makeArray(properties, name)FeatureCollection
ArgumentTypeDetails
this: collectionFeatureCollection

The input collection from which properties will be selected.

propertiesList

The properties to select.

nameString, default: "array"

The name of the new array property.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!