Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.id
Stay organized with collections
Save and categorize content based on your preferences.
Returns the ID of a given element within a collection. Objects outside collections are not guaranteed to have IDs.
Usage | Returns | Image.id() | String |
Argument | Type | Details | this: element | Element | The element from which the ID is taken. |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eid()\u003c/code\u003e returns the unique identifier of an element within a collection.\u003c/p\u003e\n"],["\u003cp\u003eThis method is primarily used with elements like Images and returns a String value representing the ID.\u003c/p\u003e\n"],["\u003cp\u003eElements outside of collections may not have assigned IDs, so using this method on them might not yield predictable results.\u003c/p\u003e\n"]]],[],null,["# ee.Image.id\n\nReturns the ID of a given element within a collection. Objects outside collections are not guaranteed to have IDs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------|---------|\n| Image.id`()` | String |\n\n| Argument | Type | Details |\n|-----------------|---------|-----------------------------------------|\n| this: `element` | Element | The element from which the ID is taken. |"]]