Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Array.project
Stay organized with collections
Save and categorize content based on your preferences.
Projects an array to a lower dimensional space by specifying the axes to retain. Dropped axes must be at most length 1.
Usage | Returns | Array.project(axes) | Array |
Argument | Type | Details | this: array | Array | Array to project. |
axes | List | The axes to project onto. Other axes will be discarded, and must be at most length 1. |
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\u003eThe \u003ccode\u003eproject\u003c/code\u003e method reduces the dimensionality of an array by selecting specific axes to keep.\u003c/p\u003e\n"],["\u003cp\u003eAxes that are not included in the projection and have a size greater than 1 will be dropped, resulting in a lower-dimensional array.\u003c/p\u003e\n"],["\u003cp\u003eIt takes an array and a list of axes as input and returns the projected array.\u003c/p\u003e\n"]]],[],null,["# ee.Array.project\n\nProjects an array to a lower dimensional space by specifying the axes to retain. Dropped axes must be at most length 1.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| Array.project`(axes)` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|---------------------------------------------------------------------------------------|\n| this: `array` | Array | Array to project. |\n| `axes` | List | The axes to project onto. Other axes will be discarded, and must be at most length 1. |"]]