[gdal-dev] Retrieve number of layers with gdalpy

António Rocha antonio.rocha at deimos.com.pt
Wed Aug 11 03:41:05 EDT 2010


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 Antivirus, version of virus signature database 5356 (20100810) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the gdal-dev mailing list