laptop and a wrench

Bug

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

Zuletzt veröffentlicht: June 1, 2022 ArcGIS Pro
Bug-ID-Nummer BUG-000147414
EingereichtMarch 8, 2022
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.8
BetriebssystemWindows OS
Betriebssystemversion11.0 64 bit
StatusAs Designed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000147414

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln