ee.FeatureCollection.propertyNames

Returns the names of properties on this element.
Usage Returns
FeatureCollection. propertyNames () List
Argument Type Details
this: element
Element

Examples

Code Editor (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 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 

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 
 ()) 
Create a Mobile Website
View Site in Mobile | Classic
Share by: