Stay organized with collections
Save and categorize content based on your preferences.
Returns an array with the given coordinates.
Usage
Returns
ee.Array(values, pixelType)
Array
Argument
Type
Details
values
Object
An existing array to cast, or a number/list of numbers/nested list of numbers of any depth to create an array from. For nested lists, all inner arrays at the same depth must have the same length and numbers may only be present at the deepest level.
pixelType
PixelType, default: null
The type of each number in the values argument. If the pixel type is not provided, it will be inferred from the numbers in 'values'. If there aren't any numbers in 'values', this type must be provided.
[[["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 2024-07-13 UTC."],[[["`ee.Array` creates an array from given values, which can be numbers, lists, or nested lists, and optionally specifies the data type of the array elements."],["The `values` argument can be an existing array, a single number, a list of numbers, or a nested list of numbers, representing the array's data."],["An optional `pixelType` argument specifies the data type of the array elements, which is inferred if not provided but mandatory for empty arrays."],["Nested lists used in the `values` argument must have consistent inner array lengths at the same depth, with numbers only at the deepest level."],["`ee.Array` can also be used to cast an existing `ee.Array` to a new `ee.Array`."]]],[]]