ee.FeatureCollection.serialize

Menampilkan representasi berserial dari objek ini.

PenggunaanHasil
FeatureCollection.serialize(legacy)String
ArgumenJenisDetail
ini: computedobjectComputedObjectInstance ComputedObject.
legacyBoolean, opsionalMengaktifkan format lama.

Contoh

Code Editor (JavaScript)

// FeatureCollection of power plants in Belgium.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants')
            .filter('country_lg == "Belgium"');

print('Serialized representation of ee.FeatureCollection', fc.serialize());

Penyiapan Python

Lihat halaman Lingkungan Python untuk mengetahui informasi tentang Python API dan penggunaan geemap untuk pengembangan interaktif.

import ee
import geemap.core as geemap

Colab (Python)

# FeatureCollection of power plants in Belgium.
fc = ee.FeatureCollection('WRI/GPPD/power_plants').filter(
    'country_lg == "Belgium"')

print('Serialized representation of ee.FeatureCollection:',
      fc.serialize())