ee.FeatureCollection.aggregate_count

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

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

উদাহরণ

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

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

print('Number of non-null values for the fuel1 property',
      fc.aggregate_count('fuel1'));  // 66

পাইথন সেটআপ

পাইথন এপিআই এবং ইন্টারেক্টিভ ডেভেলপমেন্টের জন্য 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('Number of non-null values for the fuel1 property:',
      fc.aggregate_count('fuel1').getInfo())  # 66