ee.FeatureCollection.aggregate_count_distinct

Aggregates over a given property of the objects in a collection, calculating the number of distinct values for the selected property.

UsageReturns
FeatureCollection.aggregate_count_distinct(property)Number
ArgumentTypeDetails
this: collectionFeatureCollection

The collection to aggregate over.

propertyString

The property to use from each element of the collection.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!