I am using GDAL to open GeoTiff files, I want a function to tell me if the file being opened is GeoTiff or not, so that I refuse to open it if it is not GeoTiff. How can I do this? __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/