ee.FeatureCollection.serialize

מחזירה את הייצוג הסדרתי של האובייקט הזה.

שימושהחזרות
FeatureCollection.serialize(legacy)מחרוזת
ארגומנטסוגפרטים
זה: computedobjectComputedObjectהמופע של 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

מידע על Python API ועל שימוש ב-geemap לפיתוח אינטראקטיבי מופיע בדף Python Environment.

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