ee.FeatureCollection.serialize

Retorna a representação serializada deste objeto.

UsoRetorna
FeatureCollection.serialize(legacy)String
ArgumentoTipoDetalhes
isso: computedobjectComputedObjectA instância ComputedObject.
legacyBooleano, opcionalAtiva o formato legado.

Exemplos

Editor de código (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());

Configuração do Python

Consulte a página Ambiente Python para informações sobre a API Python e como usar geemap para desenvolvimento interativo.

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