Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.toDictionary
Stay organized with collections
Save and categorize content based on your preferences.
Extract properties from a feature as a dictionary.
Usage | Returns | Image.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 an \u003ccode\u003eImage\u003c/code\u003e feature and returns them as a dictionary.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a list of properties to extract or use the default to extract all non-system properties.\u003c/p\u003e\n"],["\u003cp\u003eIt takes an \u003ccode\u003eImage\u003c/code\u003e feature as input and returns a dictionary containing the specified properties and their values.\u003c/p\u003e\n"]]],[],null,["# ee.Image.toDictionary\n\nExtract properties from a feature as a dictionary.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------|------------|\n| Image.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. |"]]