漏洞 ID 编号 |
BUG-000147414 |
已提交 | March 8, 2022 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS Pro |
找到的版本 | 2.8 |
操作系统 | Windows OS |
操作系统版本 | 11.0 64 bit |
状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
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
解决办法
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.
重现步骤