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
LinearRing.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 LinearRing) from the Earth Engine server."],["It can be used synchronously (blocking other code) or asynchronously (using a callback function)."],["Asynchronous requests are preferred to avoid UI freezes and `evaluate()` is generally recommended over `getInfo()` for this purpose."],["The method returns the computed value of the object as a JavaScript Object when called."],["Examples demonstrate its usage with a LinearRing in both JavaScript and Python within the Earth Engine Code Editor and Colab environments."]]],[]]