ee.FeatureCollection.serialize

このオブジェクトのシリアル化された表現を返します。

用途戻り値
FeatureCollection.serialize(legacy)文字列
引数タイプ詳細
これ: computedobjectComputedObjectComputedObject インスタンス。
legacyブール値、省略可以前の形式を有効にします。

コードエディタ(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());

Python の設定

Python API とインタラクティブな開発での geemap の使用については、 Python 環境のページをご覧ください。

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())