Show Navigation | Hide Navigation

Raster Dataset properties

Release 9.1
Last modified August 19, 2005
E-mail This Topic Printable Version Give Us Feedback

Property Returns
BandCount The number of bands in the raster dataset
CompressionType The compression type such as:
  • LZ77
  • JPEG
  • JPEG2000
  • None
Format The raster format:
  • GRID
  • ERDAS Imagine
  • TIFF

All available supported raster formats
Permanent: Boolean The permanent state: TRUE if the raster is permanent, or FALSE if the raster dataset is temporary
SensorType The sensor type used to capture the image

Raster Band properties
Dataset properties


from win32com.client import Dispatch
gp = Dispatch("esriGeoprocessing.GpDispatch.1")

gp.workspace = "C:\\Data"
raster = "redlands.img"

print gp.describe(raster).Bandcount
print gp.describe(raster).CompressionType
print gp.describe(raster).Format

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.