Hi


I have a project where displaying rasters formats (e.g. bmp) is made in 
different way than displaying grid formats (e.g. dem). Using GDAL I have a 
problem with universal detecting whether file opened by GDAL is a grid or 
raster image. I thought that detecting color interpretation mixed with data 
type/size and band number would be enough to decide if IsGridImage=True|False 
but depending on format these values varies. A good example is srtm (16bit 
grid) and 16bit gray nitf. Do you know a good way to solve this task?



Regards

Artur
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to