ee.FeatureCollection.toDictionary

একটি অভিধান হিসাবে একটি বৈশিষ্ট্য থেকে বৈশিষ্ট্য নিষ্কাশন করুন.

ব্যবহার রিটার্নস
FeatureCollection. toDictionary ( properties ) অভিধান
যুক্তি টাইপ বিস্তারিত
এই: element উপাদান বৈশিষ্ট্য থেকে সম্পত্তি নিষ্কাশন.
properties তালিকা, ডিফল্ট: নাল এক্সট্রাক্ট করার জন্য বৈশিষ্ট্যের তালিকা। সমস্ত নন-সিস্টেম বৈশিষ্ট্যে ডিফল্ট।

উদাহরণ

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

// FeatureCollection of power plants.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants');

print('All non-system FeatureCollection properties as an ee.Dictionary',
      fc.toDictionary());
print('Selected properties as an ee.Dictionary',
      fc.toDictionary(['description', 'provider']));

পাইথন সেটআপ

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

import ee
import geemap.core as geemap

Colab (পাইথন)

# FeatureCollection of power plants.
fc = ee.FeatureCollection('WRI/GPPD/power_plants')

print('All non-system FeatureCollection properties as an ee.Dictionary:',
      fc.toDictionary().getInfo())
print('Selected properties as an ee.Dictionary:',
      fc.toDictionary(['description', 'provider']).getInfo())