| Bug-ID-Nummer |
BUG-000122177 |
| Eingereicht | May 6, 2019 |
| Zuletzt geändert | June 5, 2024 |
| Gilt für | ArcGIS for Desktop |
| Gefunden in Version | 10.6.1 |
| Status | Known Limit
Nach Überprüfung durch das Entwicklungsteam wurde festgestellt, dass dieses Problem im Zusammenhang mit einer bekannten Einschränkung der Software steht, die außerhalb der Kontrolle von Esri liegt. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
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()".
Workaround
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).
Schritte zur Reproduzierung