ee.ImageCollection.size

সংগ্রহে উপাদানের সংখ্যা প্রদান করে।

ব্যবহার রিটার্নস
ImageCollection. size () পূর্ণসংখ্যা
যুক্তি টাইপ বিস্তারিত
এই: collection ফিচার কালেকশন গুনতে হবে সংগ্রহ।

উদাহরণ

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

// Note: ee.ImageCollection.size may take a lot of time and memory to run,
// since it must generate all of the results in order to count them. Large
// collections and/or complex computations can produce memory limitation
// errors.

// A Landsat 8 TOA image collection (1 year of images at a specific point).
var col = ee.ImageCollection('LANDSAT/LC08/C02/T1_TOA')
  .filterBounds(ee.Geometry.Point(-90.70, 34.71))
  .filterDate('2020-01-01', '2021-01-01');

// Get the number of images in the collection.
print('Number of images', col.size());

পাইথন সেটআপ

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

import ee
import geemap.core as geemap

Colab (পাইথন)

# Note: ee.ImageCollection.size may take a lot of time and memory to run,
# since it must generate all of the results in order to count them. Large
# collections and/or complex computations can produce memory limitation
# errors.

# A Landsat 8 TOA image collection (1 year of images at a specific point).
col = ee.ImageCollection('LANDSAT/LC08/C02/T1_TOA').filterBounds(
    ee.Geometry.Point(-90.70, 34.71)
    ).filterDate('2020-01-01', '2021-01-01')

# Get the number of images in the collection.
print('Number of images', col.size().getInfo())
,সংগ্রহে উপাদানের সংখ্যা প্রদান করে।

ব্যবহার রিটার্নস
ImageCollection. size () পূর্ণসংখ্যা
যুক্তি টাইপ বিস্তারিত
এই: collection ফিচার কালেকশন গুনতে হবে সংগ্রহ।

উদাহরণ

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

// Note: ee.ImageCollection.size may take a lot of time and memory to run,
// since it must generate all of the results in order to count them. Large
// collections and/or complex computations can produce memory limitation
// errors.

// A Landsat 8 TOA image collection (1 year of images at a specific point).
var col = ee.ImageCollection('LANDSAT/LC08/C02/T1_TOA')
  .filterBounds(ee.Geometry.Point(-90.70, 34.71))
  .filterDate('2020-01-01', '2021-01-01');

// Get the number of images in the collection.
print('Number of images', col.size());

পাইথন সেটআপ

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

import ee
import geemap.core as geemap

Colab (পাইথন)

# Note: ee.ImageCollection.size may take a lot of time and memory to run,
# since it must generate all of the results in order to count them. Large
# collections and/or complex computations can produce memory limitation
# errors.

# A Landsat 8 TOA image collection (1 year of images at a specific point).
col = ee.ImageCollection('LANDSAT/LC08/C02/T1_TOA').filterBounds(
    ee.Geometry.Point(-90.70, 34.71)
    ).filterDate('2020-01-01', '2021-01-01')

# Get the number of images in the collection.
print('Number of images', col.size().getInfo())