ee.FeatureCollection.get

একটি বৈশিষ্ট্য থেকে একটি সম্পত্তি নিষ্কাশন করুন.

ব্যবহার রিটার্নস
FeatureCollection. get (property)
যুক্তি টাইপ বিস্তারিত
এই: object উপাদান বৈশিষ্ট্য থেকে সম্পত্তি নিষ্কাশন.
property স্ট্রিং সম্পত্তি নিষ্কাশন.

উদাহরণ

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

// A global power plant FeatureCollection.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants');

// View a list of FeatureCollection property names.
print(fc.propertyNames());

// Get the value of a listed property.
print('Global power plant data provider as ee.ComputedObject',
      fc.get('provider'));

// The returned value is an ee.ComputedObject which has no methods available for
// further processing; cast to the relevant Earth Engine object class for use.
print('Global power plant data provider as ee.String',
      ee.String(fc.get('provider')));

পাইথন সেটআপ

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

import ee
import geemap.core as geemap

Colab (পাইথন)

# A global power plant FeatureCollection.
fc = ee.FeatureCollection('WRI/GPPD/power_plants')

# View a list of FeatureCollection property names.
print(fc.propertyNames().getInfo())

# Get the value of a listed property.
print('Global power plant data provider as ee.ComputedObject:',
      fc.get('provider').getInfo())

# The returned value is an ee.ComputedObject which has no methods available for
# further processing; cast to the relevant Earth Engine object class for use.
print('Global power plant data provider as ee.String:',
      ee.String(fc.get('provider')).getInfo())