ee.Dictionary.serialize

نمایش سریالی این شی را برمی گرداند.

استفاده برمی گرداند
Dictionary. serialize ( legacy ) رشته
استدلال تایپ کنید جزئیات
این: computedobject Computed Object نمونه ComputedObject.
legacy بولی، اختیاری قالب قدیمی را فعال می کند.

نمونه ها

ویرایشگر کد (جاوا اسکریپت)

// A dictionary (e.g. results of ee.Image.reduceRegion of an S2 image).
var dict = ee.Dictionary({
  B1: 182,
  B2: 219,
  B3: 443
});

print('Serialized representation of ee.Dictionary', dict.serialize());

راه اندازی پایتون

برای اطلاعات در مورد API پایتون و استفاده از geemap برای توسعه تعاملی به صفحه محیط پایتون مراجعه کنید.

import ee
import geemap.core as geemap

کولب (پایتون)

# A dictionary (e.g. results of ee.Image.reduceRegion of an S2 image).
dic = ee.Dictionary({
    'B1': 182,
    'B2': 219,
    'B3': 443
})

print('Serialized representation of ee.Dictionary:', dic.serialize(), sep='\n')