Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
Stay organized with collections
Save and categorize content based on your preferences.
Force an image to be computed in a given projection and resolution.
Usage
Returns
Image.reproject(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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-13 UTC."],[[["\u003cp\u003e\u003ccode\u003eImage.reproject()\u003c/code\u003e forces an image to be computed in a specified projection and resolution, often for analysis or visualization purposes.\u003c/p\u003e\n"],["\u003cp\u003eThis method is generally avoided and should primarily be used when other methods for setting projection and scale are unavailable.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecrs\u003c/code\u003e and \u003ccode\u003escale\u003c/code\u003e or \u003ccode\u003ecrsTransform\u003c/code\u003e parameters control the reprojection; the latter offers more precise control.\u003c/p\u003e\n"],["\u003cp\u003eSetting the default projection using \u003ccode\u003esetDefaultProjection\u003c/code\u003e is an alternative for image composites, avoiding resampling inherent in \u003ccode\u003ereproject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eReprojection is crucial for tasks like terrain analysis where pixel scale significantly affects results.\u003c/p\u003e\n"]]],[],null,[]]