> Is there any GIS function that recognizes a file type by extension ? For > example, if given a file .jpg it recognizes it as a raster image format. The GNU program "file" or the GDAL program "gdalinfo"? Hamish