ee.Feature.toDictionary
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Eigenschaften eines Features als Dictionary extrahieren.
Nutzung | Ausgabe |
---|
Feature.toDictionary(properties) | Wörterbuch |
Argument | Typ | Details |
---|
So gehts: element | Element | Das Feature, aus dem das Attribut extrahiert werden soll. |
properties | Liste, Standard: null | Die Liste der zu extrahierenden Attribute. Standardmäßig sind alle Nicht-System-Properties ausgewählt. |
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\u003etoDictionary()\u003c/code\u003e method extracts properties from a feature and returns them as a dictionary.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a list of properties to extract, or extract all non-system properties by default.\u003c/p\u003e\n"],["\u003cp\u003eThis method operates on an Element object representing the feature.\u003c/p\u003e\n"]]],["The `toDictionary` method extracts properties from a feature, returning them as a dictionary. It takes a feature `element` and an optional list of `properties` as input. If no list is provided, it defaults to extracting all non-system properties. The method's output is a dictionary containing the specified or default properties and their values.\n"],null,["# ee.Feature.toDictionary\n\nExtract properties from a feature as a dictionary.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------|------------|\n| Feature.toDictionary`(`*properties*`)` | Dictionary |\n\n| Argument | Type | Details |\n|-----------------|---------------------|---------------------------------------------------------------------------|\n| this: `element` | Element | The feature to extract the property from. |\n| `properties` | List, default: null | The list of properties to extract. Defaults to all non-system properties. |"]]