Das Raster-Dataset, das die Attributtabelle enthält, die Sie entfernen möchten.
Raster Layer
Abgeleitete Ausgabe
Name
Erläuterung
Datentyp
out_raster
Das Ausgabe-Raster-Dataset.
Raster Layer
Codebeispiel
DeleteRasterAttributeTable: Beispiel 1 (Python-Fenster)
Dies ist ein Python-Beispiel für das Werkzeug DeleteRasterAttributeTable.
##====================================
##Delete Raster Attribute Table
import arcpy
arcpy.env.workspace = "C:/Workspace"
##Delete the attribute table of single band image if exist
arcpy.management.DeleteRasterAttributeTable("image.tif")
DeleteRasterAttributeTable: Beispiel 2 (eigenständiges Skript)
Dies ist ein Python-Skriptbeispiel für das Werkzeug DeleteRasterAttributeTable.
##====================================
##Delete Raster Attribute Table
import arcpy
arcpy.env.workspace = "C:/Workspace"
##Delete the attribute table of single band image if exist
arcpy.management.DeleteRasterAttributeTable("image.tif")
Umgebungen
Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.