আর্থ ইঞ্জিন শেয়ার্ড কম্পিউট রিসোর্সগুলিকে সুরক্ষিত রাখতে এবং সকলের জন্য নির্ভরযোগ্য কর্মক্ষমতা নিশ্চিত করতে
অ-বাণিজ্যিক কোটা স্তর চালু করছে। সমস্ত অ-বাণিজ্যিক প্রকল্পকে
২৭ এপ্রিল, ২০২৬ এর মধ্যে একটি কোটা স্তর নির্বাচন করতে হবে অথবা ডিফল্টভাবে কমিউনিটি স্তর ব্যবহার করতে হবে। স্তর কোটা সমস্ত প্রকল্পের জন্য (স্তর নির্বাচনের তারিখ নির্বিশেষে)
২৭ এপ্রিল, ২০২৬ থেকে কার্যকর হবে।
আরও জানুন।
ee.Dictionary.getGeometry
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি অভিধান থেকে একটি নামকৃত জ্যামিতি মান বের করে।
| ব্যবহার | রিটার্নস | Dictionary. getGeometry (key) | জ্যামিতি |
| যুক্তি | টাইপ | বিস্তারিত | এই: dictionary | অভিধান | |
key | স্ট্রিং | |
উদাহরণ
কোড এডিটর (জাভাস্ক্রিপ্ট)
// A dictionary (e.g. results of ee.Image.reduceRegion of an S2 image).
var dict = ee.Dictionary({
B1: 182,
B2: 219,
B3: 443,
Geometry: ee.Geometry.Point([-122.01, 36.97])
});
print('The "Geometry" value as an ee.Geometry object',
dict.getGeometry('Geometry')); পাইথন সেটআপ
পাইথন এপিআই এবং ইন্টারেক্টিভ ডেভেলপমেন্টের জন্য geemap ব্যবহার করার জন্য পাইথন এনভায়রনমেন্ট পৃষ্ঠাটি দেখুন।
import ee
import geemap.core as geemap
Colab (পাইথন)
# A dictionary (e.g. results of ee.Image.reduceRegion of an S2 image).
dic = ee.Dictionary({
'B1': 182,
'B2': 219,
'B3': 443,
'Geometry': ee.Geometry.Point([-122.01, 36.97])
})
display('The "Geometry" value as an ee.Geometry object:',
dic.getGeometry('Geometry'))
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],["The `getGeometry(key)` method retrieves a geometry object from a dictionary using a specified key. The method requires a dictionary and a string key as input. It returns a `Geometry` object, if the key `\"Geometry\"` exist, otherwise it may return `null`. Examples demonstrate retrieving the geometry using both JavaScript and Python, showcasing how to extract the geometry value associated with the `\"Geometry\"` key from a dictionary.\n"]]