ee.FeatureCollection.first

Belirli bir koleksiyondaki ilk girişi döndürür.

Kullanımİadeler
FeatureCollection.first()Öğe
Bağımsız DeğişkenTürAyrıntılar
bu: collectionFeatureCollectionİlk girişin seçileceği koleksiyon.

Örnekler

Kod Düzenleyici (JavaScript)

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

print('The first feature (power plant) in the collection', fc.first());

Python kurulumu

Python API'si ve etkileşimli geliştirme için geemap kullanımı hakkında bilgi edinmek üzere Python Ortamı sayfasına bakın.

import ee
import geemap.core as geemap

Colab (Python)

from pprint import pprint

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

print('The first feature (power plant) in the collection:')
pprint(fc.first().getInfo())