Stay organized with collections
Save and categorize content based on your preferences.
Retrieves the value of this object from the server.
If no callback function is provided, the request is made synchronously. If a callback is provided, the request is made asynchronously.
The asynchronous mode is preferred because the synchronous mode stops all other code (for example, the EE Code Editor UI) while waiting for the server. To make an asynchronous request, evaluate() is preferred over getInfo().
Returns the computed value of this object.
Usage
Returns
Point.getInfo(callback)
Object
Argument
Type
Details
this: computedobject
ComputedObject
The ComputedObject instance.
callback
Function, optional
An optional callback. If not supplied, the call is made synchronously.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["`getInfo()` retrieves the value of a ComputedObject (like a Geometry) from the Earth Engine server."],["Requests can be made synchronously (blocking) or asynchronously (non-blocking) using a callback function."],["Asynchronous requests are generally preferred to avoid UI freezes and are typically made using `evaluate()` instead of `getInfo()`."],["This method returns the computed value of the object, such as coordinate data for a Point."],["Examples are provided in JavaScript and Python demonstrating how to use `getInfo()` and display results."]]],[]]