ee.FeatureCollection.aggregate_product

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

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

উদাহরণ

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

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

print('Product of power plant capacities (MW)',
      fc.aggregate_product('capacitymw'));  // 2.149198109e+109

পাইথন সেটআপ

পাইথন এপিআই এবং ইন্টারেক্টিভ ডেভেলপমেন্টের জন্য 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('Product of power plant capacities (MW):',
      fc.aggregate_product('capacitymw').getInfo())  # 2.149198109e+109