Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Projection.translate
Stay organized with collections
Save and categorize content based on your preferences.
Returns the projection translated by the given amount in each axis.
Usage | Returns | Projection.translate(x, y) | Projection |
Argument | Type | Details | this: projection | Projection | |
x | Float | The amount to translate by in the x axis. |
y | Float | The amount to translate by in the y axis. |
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 modifies a Projection to shift its output by specified amounts in the x and y directions.\u003c/p\u003e\n"],["\u003cp\u003eIt takes two arguments, \u003ccode\u003ex\u003c/code\u003e and \u003ccode\u003ey\u003c/code\u003e, representing the translation amounts for the respective axes.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003etranslate\u003c/code\u003e on a Projection object returns a new, translated Projection, leaving the original unchanged.\u003c/p\u003e\n"]]],[],null,["# ee.Projection.translate\n\nReturns the projection translated by the given amount in each axis.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|------------|\n| Projection.translate`(x, y)` | Projection |\n\n| Argument | Type | Details |\n|--------------------|------------|-------------------------------------------|\n| this: `projection` | Projection | |\n| `x` | Float | The amount to translate by in the x axis. |\n| `y` | Float | The amount to translate by in the y axis. |"]]