Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.projection
Stay organized with collections
Save and categorize content based on your preferences.
Returns the default projection of an Image. Throws an error if the bands of the image don't all have the same projection.
Usage | Returns | Image.projection() | Projection |
Argument | Type | Details | this: image | Image | The image from which to get the projection. |
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\u003eThis function retrieves the default projection of an image.\u003c/p\u003e\n"],["\u003cp\u003eAn error is thrown if the image bands have differing projections.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns a Projection object.\u003c/p\u003e\n"],["\u003cp\u003eIt's used by calling \u003ccode\u003eImage.projection()\u003c/code\u003e on an image.\u003c/p\u003e\n"]]],["The core function is retrieving an image's default projection. It utilizes `Image.projection()` and returns a `Projection` object. The input is an `Image` object (`this: image`). The function verifies all image bands share the same projection; otherwise, it throws an error. Essentially, it extracts and returns the common spatial projection associated with the input image's data.\n"],null,["# ee.Image.projection\n\nReturns the default projection of an Image. Throws an error if the bands of the image don't all have the same projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------|------------|\n| Image.projection`()` | Projection |\n\n| Argument | Type | Details |\n|---------------|-------|---------------------------------------------|\n| this: `image` | Image | The image from which to get the projection. |"]]