laptop and a wrench

Bug

The compression type set in the Environments setting is not honored by the Raster Calculator tool in ArcGIS ModelBuilder.

Last Published: June 1, 2022 ArcGIS Pro
Bug ID Number BUG-000147414
SubmittedMarch 8, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.8
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

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

Bug ID: BUG-000147414

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options