ee.FeatureCollection.bounds

Bir koleksiyondaki geometrilerin etrafında sınırlayıcı kutu oluşturur.

Kullanımİadeler
FeatureCollection.bounds(maxError, proj)Geometri
Bağımsız DeğişkenTürAyrıntılar
bu: collectionFeatureCollectionSınırları oluşturulacak koleksiyon.
maxErrorErrorMargin, isteğe bağlıGerekli yeniden projeksiyon işlemleri gerçekleştirilirken tolere edilen maksimum hata miktarı.
projProjeksiyon, isteğe bağlıBelirtilirse sonuç bu projeksiyonda olur. Aksi takdirde EPSG:4326'da olur.

Örnekler

Kod Düzenleyici (JavaScript)

// FeatureCollection of power plants in Belgium.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants')
             .filter('country_lg == "Belgium"');

print('Bounds of Belgium power plants:', fc.bounds());  // ee.Geometry

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)

# FeatureCollection of power plants in Belgium.
fc = ee.FeatureCollection('WRI/GPPD/power_plants').filter(
    'country_lg == "Belgium"')

print('Bounds of Belgium power plants:', fc.bounds().getInfo())  # ee.Geometry