ee.FeatureCollection.propertyNames
Returns the names of properties on this element.
Usage | Returns |
---|
FeatureCollection.propertyNames() | List |
Argument | Type | Details |
---|
this: element | Element | |
Examples
// A global power plant FeatureCollection.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants');
// View a list of FeatureCollection property names.
print(fc.propertyNames());
Python setup
See the
Python Environment page for information on the Python API and using
geemap
for interactive development.
import ee
import geemap.core as geemap
# A global power plant FeatureCollection.
fc = ee.FeatureCollection('WRI/GPPD/power_plants')
# View a list of FeatureCollection property names.
print(fc.propertyNames().getInfo())
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Returns a list of property names present in a FeatureCollection."],["This function is applied to a FeatureCollection element and requires no arguments."],["Examples are provided in JavaScript, Python, and Colab to demonstrate its usage for viewing property names in a FeatureCollection."]]],[]]