ee.FeatureCollection.serialize

Возвращает сериализованное представление этого объекта.

Использование Возврат
FeatureCollection. serialize ( legacy ) Нить
Аргумент Тип Подробности
это: computedobject ComputedObject Экземпляр ComputedObject.
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

Информацию об API Python и использовании 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())