ee.Image.setDefaultProjection
Set a default projection to be applied to this image. The projection's resolution may be overridden by later operations.
Usage | Returns | Image.setDefaultProjection(crs, crsTransform, scale) | Image |
Argument | Type | Details | this: image | Image | The image to reproject. |
crs | Projection | The CRS to project the image to. |
crsTransform | List, default: null | The list of CRS transform values. This is a row-major ordering of the 3x2 transform matrix. This option is mutually exclusive with the scale option, and replaces any transform already on the projection. |
scale | Float, default: null | If scale is specified, then the projection is scaled by dividing the specified scale value by the nominal size of a meter in the specified projection. If scale is not specified, then the scale of the given projection will be used. |
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."],[[["Define a default projection and resolution for an image, which can be modified by subsequent operations."],["Specify the target Coordinate Reference System (CRS), an optional CRS transformation matrix, and an optional scale factor to adjust the projection."],["Providing a CRS transformation matrix overrides any existing transformations, while the scale factor adjusts the projection's scale based on the specified value and the projection's nominal meter size."]]],[]]