The arcpy.SetRasterProperties tool is not able to set NoData to a null or empty value in a raster that contains a non-empty NoData value.
上次发布: December 22, 2017ArcGIS for Desktop
漏洞 ID 编号
BUG-000108359
已提交
September 27, 2017
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.5
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
解决办法
arcpy.SetRasterProperties supports setting NoData to a value larger than the pixel depth. Setting NoData to 256 in an 8-bit raster appears to have the effect of making NoData unused, and does not update the raster to a larger pixel depth.