Raster Dataset properties |
|
Release 9.1
Last modified August 19, 2005 |
|
Property | Returns |
BandCount | The number of bands in the raster dataset |
CompressionType | The compression type such as:
|
Format | The raster format:
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 |
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