ee.Image.getString
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Eigenschaft aus einem Feature extrahieren
Nutzung | Ausgabe |
---|
Image.getString(property) | String |
Argument | Typ | Details |
---|
So gehts: object | Element | Das Feature, aus dem das Attribut extrahiert werden soll. |
property | String | Das Attribut, das extrahiert werden soll. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003egetString()\u003c/code\u003e method is used to extract a property value as a string from a feature (like an image).\u003c/p\u003e\n"],["\u003cp\u003eThis method requires two inputs: the feature itself and the name of the property to extract.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetString()\u003c/code\u003e is specifically designed for properties that hold string values.\u003c/p\u003e\n"]]],["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"],null,["# ee.Image.getString\n\nExtract a property from a feature.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------|---------|\n| Image.getString`(property)` | String |\n\n| Argument | Type | Details |\n|----------------|---------|-------------------------------------------|\n| this: `object` | Element | The feature to extract the property from. |\n| `property` | String | The property to extract. |"]]