Bug ID Number |
BUG-000147414 |
Submitted | March 8, 2022 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS Pro |
Version found | 2.8 |
Operating System | Windows OS |
Operating System Version | 11.0 64 bit |
Status | As Designed
After review by the development team, it has been determined that this behavior is as designed. See the Additional Information section for details.
|
Additional Information
This behavior is as designed. The Copy Raster tool is under the Data Management toolbox, while the Raster Calculator tool is under the Spatial Analyst toolbox. The two toolboxes honor compressions differently.
Spatial Analyst tools never honors lossy compression, because the pixel values are inaccurate when lossy compression is applied. Inaccurate pixels values are acceptable for a visualization purposes, but is not acceptable for analysis. In this case, the user is specifying a lossless compression so Spatial Analyst tools might honor it in some cases.
However, the Spatial Analyst tools do not honor compression of Float data.
Here is the documentation where it details how Spatial Analyst tools honor compression:
Analysis environments and Spatial Analyst—ArcGIS Pro | Documentation
https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/analysis-environments-and-spatial-analyst.htm#ESRI_SECTION1_3BAC947E7E594194B28785EAB07B7E00
Workaround
Use the Copy Raster tool afterwards to get a new compressed raster, but the Raster Calculator tool cannot be prevented from creating huge raster files.
Steps to Reproduce