Duyuru :
15 Nisan 2025 'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin erişimlerini sürdürebilmeleri için
ticari olmayan uygunluklarını doğrulamaları gerekir. 26 Eylül 2025'e kadar doğrulama yapmazsanız erişiminiz bekletilebilir.
Geri bildirim gönderin
ee.Geometry.bounds
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Geometrinin sınırlayıcı dikdörtgenini döndürür.
Kullanım İadeler Geometry. bounds (maxError , proj )
Geometri
Bağımsız Değişken Tür Ayrıntılar bu: geometry
Geometri Bu geometrinin sınırlayıcı kutusunu döndürür. maxError
ErrorMargin, varsayılan: null Gerekli yeniden projeksiyon işlemleri gerçekleştirilirken tolere edilen maksimum hata miktarı. proj
Projeksiyon, varsayılan: null Belirtilirse sonuç bu projeksiyonda olur. Aksi takdirde EPSG:4326'da olur.
Örnekler
Kod Düzenleyici (JavaScript)
// Define a Geometry object.
var geometry = ee . Geometry ({
'type' : 'Polygon' ,
'coordinates' :
[[[ - 122.081 , 37.417 ],
[ - 122.086 , 37.421 ],
[ - 122.084 , 37.418 ],
[ - 122.089 , 37.416 ]]]
});
// Apply the bounds method to the Geometry object.
var geometryBounds = geometry . bounds ();
// Print the result to the console.
print ( 'geometry.bounds(...) =' , geometryBounds );
// Display relevant geometries on the map.
Map . setCenter ( - 122.085 , 37.422 , 15 );
Map . addLayer ( geometry ,
{ 'color' : 'black' },
'Geometry [black]: geometry' );
Map . addLayer ( geometryBounds ,
{ 'color' : 'red' },
'Result [red]: geometry.bounds' );
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)
# Define a Geometry object.
geometry = ee . Geometry ({
'type' : 'Polygon' ,
'coordinates' : [[
[ - 122.081 , 37.417 ],
[ - 122.086 , 37.421 ],
[ - 122.084 , 37.418 ],
[ - 122.089 , 37.416 ],
]],
})
# Apply the bounds method to the Geometry object.
geometry_bounds = geometry . bounds ()
# Print the result.
display ( 'geometry.bounds(...) =' , geometry_bounds )
# Display relevant geometries on the map.
m = geemap . Map ()
m . set_center ( - 122.085 , 37.422 , 15 )
m . add_layer ( geometry , { 'color' : 'black' }, 'Geometry [black]: geometry' )
m . add_layer (
geometry_bounds , { 'color' : 'red' }, 'Result [red]: geometry.bounds'
)
m
Geri bildirim gönderin
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları 'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
Bize geri bildirimde bulunmak mı istiyorsunuz?
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-26 UTC."],[],[]]