laptop and a wrench

不具合

The Python script "arcpy.BuildRasterAttributeTable_management" does not work with intermediate rasters.

最後に公開された状態: June 7, 2019 ArcGIS for Desktop
不具合 ID 番号 BUG-000122177
送信されましたMay 6, 2019
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.6.1
ステータスKnown Limit

参考情報

The input raster is the result of the Int function. The Int function generates a function raster dataset, not in memory raster dataset. The Python script "arcpy.BuildRasterAttributeTable_managementI()" does not take function raster dataset as input. The function raster dataset needs to save to a physical raster dataset or a in memory raster dataset to be used in the Python script "arcpy.BuildRasterAttributeTable_managementI()".

対処法

To create an in_memory copy of the raster :

int_rast.save("in_memory/tempfile.tif")

 

or

 

print(int_rast)

arcpy.BuildRasterAttributeTable_management(int_rast)

As well as providing printed output to the console, the print statement has the effect of creating a TIF file in the subject workspace.

 

 

Attached are example workarounds in ArcMap 10.6.1 (python 2.x)and ArcGIS Pro (python 3.x).

再現の手順

不具合 ID: BUG-000122177

ソフトウェア:

  • ArcGIS for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動