ee.FeatureCollection.propertyNames

Returns the names of properties on this element.

שימושהחזרות
FeatureCollection.propertyNames()רשימה
ארגומנטסוגפרטים
זה: elementרכיב

דוגמאות

עורך הקוד (JavaScript)

// A global power plant FeatureCollection.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants');

// View a list of FeatureCollection property names.
print(fc.propertyNames());

הגדרת Python

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

import ee
import geemap.core as geemap

Colab (Python)

# A global power plant FeatureCollection.
fc = ee.FeatureCollection('WRI/GPPD/power_plants')

# View a list of FeatureCollection property names.
print(fc.propertyNames().getInfo())