ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
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())
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe \u003ccode\u003esize()\u003c/code\u003e function returns the number of elements (e.g., images) in an Earth Engine ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eIt takes one argument, the collection to count, and returns an integer representing the number of elements.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eee.ImageCollection.size()\u003c/code\u003e can be computationally intensive for large collections, potentially causing memory errors due to the need to generate all results for counting.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.size\n\nReturns the number of elements in the collection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|---------|\n| ImageCollection.size`()` | Integer |\n\n| Argument | Type | Details |\n|--------------------|-------------------|--------------------------|\n| this: `collection` | FeatureCollection | The collection to count. |\n\nExamples\n--------\n\n### Code Editor (JavaScript)\n\n```javascript\n// Note: ee.ImageCollection.size may take a lot of time and memory to run,\n// since it must generate all of the results in order to count them. Large\n// collections and/or complex computations can produce memory limitation\n// errors.\n\n// A Landsat 8 TOA image collection (1 year of images at a specific point).\nvar col = ee.ImageCollection('LANDSAT/LC08/C02/T1_TOA')\n .filterBounds(ee.Geometry.Point(-90.70, 34.71))\n .filterDate('2020-01-01', '2021-01-01');\n\n// Get the number of images in the collection.\nprint('Number of images', col.size());\n```\nPython setup\n\nSee the [Python Environment](/earth-engine/guides/python_install) page for information on the Python API and using\n`geemap` for interactive development. \n\n```python\nimport ee\nimport geemap.core as geemap\n```\n\n### Colab (Python)\n\n```python\n# Note: ee.ImageCollection.size may take a lot of time and memory to run,\n# since it must generate all of the results in order to count them. Large\n# collections and/or complex computations can produce memory limitation\n# errors.\n\n# A Landsat 8 TOA image collection (1 year of images at a specific point).\ncol = ee.ImageCollection('LANDSAT/LC08/C02/T1_TOA').filterBounds(\n ee.Geometry.Point(-90.70, 34.71)\n ).filterDate('2020-01-01', '2021-01-01')\n\n# Get the number of images in the collection.\nprint('Number of images', col.size().getInfo())\n```"]]