Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Algorithms.Dictionary
Stay organized with collections
Save and categorize content based on your preferences.
Constructs a dictionary.
Usage | Returns | ee.Algorithms.Dictionary(input) | Dictionary |
Argument | Type | Details | input | Object, default: null | An object to convert to a dictionary. Either a JSON dictionary or a list of alternating key/value pairs. Keys must be strings. |
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\u003eCreates a server-side dictionary object, which is useful for organizing and accessing data.\u003c/p\u003e\n"],["\u003cp\u003eAccepts input in the form of a JSON dictionary or a list of key-value pairs, with keys always being strings.\u003c/p\u003e\n"],["\u003cp\u003eIf no input is provided, it defaults to creating an empty dictionary.\u003c/p\u003e\n"]]],["The function `ee.Algorithms.Dictionary` creates a dictionary object. It accepts a single argument, `input`, which can be either a JSON dictionary or a list of key-value pairs. The keys within the `input` must be strings. This function returns a dictionary data structure based on the provided input.\n"],null,["# ee.Algorithms.Dictionary\n\nConstructs a dictionary.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------|------------|\n| `ee.Algorithms.Dictionary(`*input*`)` | Dictionary |\n\n| Argument | Type | Details |\n|----------|-----------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `input` | Object, default: null | An object to convert to a dictionary. Either a JSON dictionary or a list of alternating key/value pairs. Keys must be strings. |"]]