AI-generated Key Takeaways
-
Aggregates the minimum value of a specified property across all objects in a collection.
-
The function requires a collection and a property name as arguments.
-
The output is the minimum value found among the selected property of the collection's elements.
| Usage | Returns |
|---|---|
FeatureCollection.aggregate_min(property) |
| Argument | Type | Details |
|---|---|---|
this: collection | FeatureCollection | The collection to aggregate over. |
property | String | The property to use from each element of the collection. |
Examples
Code Editor (JavaScript)
// FeatureCollection of power plants in Belgium. var fc = ee.FeatureCollection('WRI/GPPD/power_plants') .filter('country_lg == "Belgium"'); print('Min of power plant capacities (MW)', fc.aggregate_min('capacitymw')); // 1.8
import ee import geemap.core as geemap
Colab (Python)
# FeatureCollection of power plants in Belgium. fc = ee.FeatureCollection('WRI/GPPD/power_plants').filter( 'country_lg == "Belgium"') print('Min of power plant capacities (MW):', fc.aggregate_min('capacitymw').getInfo()) # 1.8