Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Feature.toDictionary
Stay organized with collections
Save and categorize content based on your preferences.
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."],[[["\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. |"]]