When using the Export Raster World File tool in Python with a raster that needs an approximate affine transformation written into the world file, Python does not create one, and the resulting output raster has incorrect extents.
上次发布: August 25, 2014ArcGIS for Desktop
漏洞 ID 编号
NIM062455
已提交
November 1, 2010
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
9.3.1
操作系统
Windows OS
操作系统版本
XP
修正版本
10
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
Extra workflow needed for the export world file in 9.3.1
解决办法
Use the Explorer Window to go into the folder where the file extensions of the rasters are visible. Find the world file for the tiff raster output from the Python Script. The extension to the file will be ".tfw". Place an "x" at the end of the file extension name so that it becomes (".tfwx"). This will cause ArcMap to read the extent from the source raster and not the world file, which is just an approximation.