ee.FeatureCollection.aggregate_max

একটি সংগ্রহে বস্তুর প্রদত্ত সম্পত্তির উপর সমষ্টি, নির্বাচিত সম্পত্তির সর্বাধিক মান গণনা করে।

ব্যবহার রিটার্নস
FeatureCollection. aggregate_max (property)
যুক্তি টাইপ বিস্তারিত
এই: collection ফিচার কালেকশন সংগ্রহ ওভার সমষ্টি.
property স্ট্রিং সংগ্রহের প্রতিটি উপাদান থেকে ব্যবহার করার জন্য সম্পত্তি।

উদাহরণ

কোড এডিটর (জাভাস্ক্রিপ্ট)

// FeatureCollection of power plants in Belgium.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants')
             .filter('country_lg == "Belgium"');

print('Max of power plant capacities (MW)',
      fc.aggregate_max('capacitymw'));  // 2910

পাইথন সেটআপ

পাইথন এপিআই এবং ইন্টারেক্টিভ ডেভেলপমেন্টের জন্য geemap ব্যবহার করার জন্য পাইথন এনভায়রনমেন্ট পৃষ্ঠাটি দেখুন।

import ee
import geemap.core as geemap

Colab (পাইথন)

# FeatureCollection of power plants in Belgium.
fc = ee.FeatureCollection('WRI/GPPD/power_plants').filter(
    'country_lg == "Belgium"')

print('Max of power plant capacities (MW):',
      fc.aggregate_max('capacitymw').getInfo())  # 2910