ee.FeatureCollection.aggregate_min

Bir koleksiyondaki nesnelerin belirli bir özelliğini toplar ve seçilen özelliğin değerlerinin minimumunu hesaplar.

Kullanımİadeler
FeatureCollection.aggregate_min(property)
Bağımsız DeğişkenTürAyrıntılar
bu: collectionFeatureCollectionÜzerinde toplama işlemi yapılacak koleksiyon.
propertyDizeKoleksiyonun her öğesinden kullanılacak özellik.

Örnekler

Kod Düzenleyici (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 kurulumu

Python API'si ve etkileşimli geliştirme için geemap kullanımı hakkında bilgi edinmek üzere Python Ortamı sayfasına bakın.

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