Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.data.computeValue
Stay organized with collections
Save and categorize content based on your preferences.
Sends a request to compute a value.
Returns result
Usage | Returns | ee.data.computeValue(obj, callback) | Object|Value |
Argument | Type | Details | obj | Object | |
callback | Function, optional | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eSends a request to compute a value and returns the result, which can be an object or a value.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eee.data.computeValue()\u003c/code\u003e function, accepting an object and an optional callback function as arguments.\u003c/p\u003e\n"]]],["The core functionality involves sending a request to compute a value and receiving the result. The function `ee.data.computeValue` is used for this, accepting an object (`obj`) as input. It optionally takes a callback function. The function call returns either an object or a computed value. No details are provided about the object type, the nature of the computed value, or the specific use of the optional callback.\n"],null,["# ee.data.computeValue\n\n\u003cbr /\u003e\n\nSends a request to compute a value.\n\n\u003cbr /\u003e\n\nReturns result\n\n| Usage | Returns |\n|-------------------------------------------|---------------|\n| `ee.data.computeValue(obj, `*callback*`)` | Object\\|Value |\n\n| Argument | Type | Details |\n|------------|--------------------|---------|\n| `obj` | Object | |\n| `callback` | Function, optional | |"]]