Greetings
I have a file Geotiff format (and other in GRIB) and I need to know how
many layers of data I have in each one of them by using gdalPy. is it
possible? (I don't want to use gdalinfo , I just want to get this value
directly)
Thanks
Antonio
__ Information from ESET NOD32 An
António,
GDALDataset::GetRasterCount doesn't have the same interface in Python. You
can get the value using the GDALDataset's member variable RasterCount in
Python.
Example:
http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py?rev=19928#L764
2010/8/11 António Rocha
> Greetings