Duyuru: 15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için ticari olmayan uygunluğu doğrulaması gerekir.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu nesnenin değerini sunucudan eşzamansız olarak alır ve sağlanan geri çağırma işlevine iletir.
Kullanım
İadeler
Date.evaluate(callback)
Bağımsız Değişken
Tür
Ayrıntılar
bu: computedobject
ComputedObject
ComputedObject örneği.
callback
İşlev
Sunucu yanıt döndürdüğünde çağrılan, function(success, failure) biçimindeki bir işlev. İstek başarılı olursa başarı bağımsız değişkeni, değerlendirilen sonucu içerir. İstek başarısız olursa hata bağımsız değişkeni bir hata mesajı içerir.
[[["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."],[[["`Date.evaluate()` retrieves the value of a server-side `ee.Date` object and passes it to a callback function."],["The callback function receives the evaluated result as an object with `type` and `value` keys, where `value` represents milliseconds since the Unix epoch."],["Excessive use of `evaluate` can impact performance due to data transfer from Earth Engine servers to the client."],["The Python client library uses `getInfo()` instead of `evaluate` for asynchronous evaluation of `ee.Date` objects."]]],["The `Date.evaluate(callback)` method asynchronously retrieves a ComputedObject's value from the server. It uses a callback function with `success` and `failure` arguments to handle the server's response. If successful, `success` provides the evaluated result; otherwise, `failure` gives an error message. The JavaScript example transfers a server-side date to the client, revealing its \"type\" and \"value\" (milliseconds since Unix epoch). Python uses `ee.Date.getInfo()` for similar functionality.\n"]]