Hi folks, I might be wrong, but it looks like the VRT driver is not supporting RAT at this moment (TRUNK). Is that correct? A simple way to test it is by "gdal_translating" that file "i8u_c_i.img" from autotest to VRT: $ gdal_translate -of vrt i8u_c_i.img vrt_i8u_c_i.vrt $ gdalinfo vrt_i8u_c_i.vrt -noct The RAT is not there. That wouldn't be a big problem by itself, the real problem is that gdal_translate uses an internal VRT to support several options. And I am trying to fix that ticket: http://trac.osgeo.org/gdal/ticket/5200 and I noticed that when I use *-a_nodata* the GetDefaultRAT() it returns null. Drivers that implement *file based* GDALPamDataset doesn't seems to have that problem because they don't need to call GetDefaultRAT(). Examples: $ gdal_translate -of gtiif i8u_c_i.img gtiff_i8u_c_i.tif -a_nodata 0 $ gdal_translate -of gtiif i8u_c_i.img gtiff_i8u_c_i.tif The RAT is transferred to the geotiff file in both instances. Is that something we would like to get fix in VRT? Best regards, Ivan
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
