ee.FeatureCollection.serialize

Zwraca serializowaną reprezentację tego obiektu.

WykorzystanieZwroty
FeatureCollection.serialize(legacy)Ciąg znaków
ArgumentTypSzczegóły
to: computedobjectComputedObjectInstancja ComputedObject.
legacyWartość logiczna, opcjonalnaWłącza starszy format.

Przykłady

Edytor kodu (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());

Konfiguracja Pythona

Informacje o interfejsie Python API i używaniu geemap do interaktywnego programowania znajdziesz na stronie Środowisko 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())