ee.FeatureCollection.propertyNames

แสดงผลชื่อของพร็อพเพอร์ตี้ในองค์ประกอบนี้

การใช้งานการคืนสินค้า
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

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