ee.Image.getArray
Extract a property from a feature.
Usage | Returns |
---|
Image.getArray(property) | Array |
Argument | Type | Details |
---|
this: object | Element | The feature to extract the property from. |
property | String | The property to extract. |
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."],[[["The `getArray()` method extracts a specified property's value from a feature, returning it as an array."],["This method is used on an `Image` object, requiring the feature and the property name as inputs."]]],["The function `Image.getArray(property)` extracts a specified property from a feature (Element object). It takes the feature as the context (`this`) and a `property` string as input. The function's return type is an Array, containing the extracted property's value. This operation effectively retrieves specific data associated with a feature, making the data accessible.\n"]]