ee.FeatureCollection.aggregate_min

यह किसी कलेक्शन में मौजूद ऑब्जेक्ट की दी गई प्रॉपर्टी के हिसाब से एग्रीगेट करता है. साथ ही, चुनी गई प्रॉपर्टी की सबसे कम वैल्यू का हिसाब लगाता है.

इस्तेमालरिटर्न
FeatureCollection.aggregate_min(property)
आर्ग्यूमेंटटाइपविवरण
यह: collectionFeatureCollectionवह कलेक्शन जिसके आधार पर एग्रीगेट करना है.
propertyस्ट्रिंगकलेक्शन के हर एलिमेंट से इस्तेमाल की जाने वाली प्रॉपर्टी.

उदाहरण

कोड एडिटर (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

Python सेटअप करना

Python API और इंटरैक्टिव डेवलपमेंट के लिए geemap का इस्तेमाल करने के बारे में जानकारी पाने के लिए, Python एनवायरमेंट पेज देखें.

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