Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Resim verileri üzerinde rastgele bir hesaplama gerçekleştirerek bir piksel karosu hesaplar.
İstekler, istek başına sıkıştırılmamış veri olarak 48 MB ile sınırlıdır. Bu değer, piksel cinsinden istek boyutlarının, istenen resim bantlarının sayısı ve her bant için piksel başına bayt sayısı çarpımı olarak hesaplanır. İstekler, her iki boyutta da en fazla 32.000 piksel ve en fazla 1.024 bantla sınırlıdır. Bu sınırları aşan istekler 400 (BAD_REQUEST) hata koduyla sonuçlanır.
Başarılı olursa yanıt metni, istekteki fileFormat alanında belirtilen kodlamada istenen piksel verilerini içerir.
HTTP isteği
POST https://earthengine.googleapis.com/v1/{project=projects/*}/image:computePixels
Bu istek için hizmet tüketicisi olarak değerlendirilmesi gereken Google Cloud Platform projesinin proje kimliği veya proje numarası. Biçim projects/{project-id}'tür.
Yetkilendirme, belirtilen kaynak project için aşağıdaki IAM iznini gerektirir:
earthengine.computations.create
İstek içeriği
İstek metni aşağıdaki yapıyla birlikte verileri içerir:
expression tarafından hesaplanan görüntünün nasıl yeniden projelendirileceğini ve kırpılacağını açıklayan parametreler. Bu parametre yoksa hesaplanan görüntünün tamamı, yerel projeksiyonunda döndürülür.
bandIds[]
string
Varsa expression değerinin değerlendirilmesi sonucunda seçilecek belirli bir bant grubunu belirtir. Bu parametre yoksa expression sonucu olarak elde edilen tüm bantlar seçilir.
[[["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-03-06 UTC."],[[["The `image:computePixels` method computes a tile of pixels by performing an arbitrary computation on image data provided as an expression."],["Request size is limited to 48MB of uncompressed data, 32K pixels in each dimension, and 1024 bands, with exceeding requests resulting in a 400 (BAD_REQUEST) error."],["Successful responses contain the requested pixel data in the specified file format."],["Users can customize output through parameters like `fileFormat`, `grid`, `bandIds`, and `visualizationOptions` to control the data format, projection, bands selection, and visualization, respectively."],["Proper authorization with specific OAuth scopes, such as `https://www.googleapis.com/auth/earthengine`, is required for accessing this API."]]],["This content details the process of computing a tile of pixels from image data via a `POST` request to `https://earthengine.googleapis.com/v1/{project=projects/*}/image:computePixels`. Requests specify an `expression`, `fileFormat`, `grid`, optional `bandIds`, `visualizationOptions`, and a `workloadTag`. The request is limited to 48MB of uncompressed data, 32K pixels per dimension, and 1024 bands. Successful responses return requested pixel data in the specified format, with various authorization scopes available.\n"]]