Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до
15 апреля 2025 года, должны
подтвердить некоммерческое право на сохранение доступа к Earth Engine.
ee.Filter.evaluate
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Асинхронно извлекает значение этого объекта с сервера и передает его предоставленной функции обратного вызова.
Использование | Возврат | Filter. evaluate (callback) | |
Аргумент | Тип | Подробности | это: computedobject | ComputedObject | Экземпляр ComputedObject. |
callback | Функция | Функция вида function(success, failure), вызываемая при возврате ответа сервером. Если запрос выполнен успешно, аргумент success содержит вычисленный результат. Если запрос не удался, аргумент failure содержит сообщение об ошибке. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eRetrieves the object's value from the server and provides it to a specified callback function.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a \u003ccode\u003ecallback\u003c/code\u003e function with arguments for success (containing the result) and failure (containing an error message).\u003c/p\u003e\n"],["\u003cp\u003eApplicable to ComputedObject instances, allowing asynchronous retrieval of their values.\u003c/p\u003e\n"]]],["The `Filter.evaluate` method asynchronously fetches a `ComputedObject`'s value from the server. It utilizes a callback function to handle the response. This callback, structured as `function(success, failure)`, receives either the evaluated result in the `success` argument upon a successful request or an error message in the `failure` argument if the request fails. The method itself does not return a value. The method receives as a parameter the callback function and it needs to be invoked from an instance of a `ComputedObject`.\n"],null,["# ee.Filter.evaluate\n\n\u003cbr /\u003e\n\nAsynchronously retrieves the value of this object from the server and passes it to the provided callback function.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------|---------|\n| Filter.evaluate`(callback)` | |\n\n| Argument | Type | Details |\n|------------------------|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `computedobject` | ComputedObject | The ComputedObject instance. |\n| `callback` | Function | A function of the form function(success, failure), called when the server returns an answer. If the request succeeded, the success argument contains the evaluated result. If the request failed, the failure argument will contains an error message. |"]]