ee.Image.getString
Extract a property from a feature.
Usage | Returns |
---|
Image.getString(property) | String |
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 `getString()` method is used to extract a property value as a string from a feature (like an image)."],["This method requires two inputs: the feature itself and the name of the property to extract."],["`getString()` is specifically designed for properties that hold string values."]]],["The function `getString` extracts a specified property from a given feature. It takes two arguments: an `Element` object representing the feature and a `String` indicating the property name. The function returns the property's value as a `String`. The `Element` object is the source from which the specified property is extracted.\n"]]