ee.Feature.toDictionary
Extract properties from a feature as a dictionary.
Usage | Returns |
---|
Feature.toDictionary(properties) | Dictionary |
Argument | Type | Details |
---|
this: element | Element | The feature to extract the property from. |
properties | List, default: null | The list of properties to extract. Defaults to all non-system properties. |
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 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["The `toDictionary()` method extracts properties from a feature and returns them as a dictionary."],["You can specify a list of properties to extract, or extract all non-system properties by default."],["This method operates on an Element object representing the feature."]]],["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"]]