Re: [gdal-dev] HFA and RAT

2013-09-03 Thread Ivan Lucena
Hi Sam, Assign the ticket to me and I will apply the patch. Thanks, Ivan Date: Wed, 4 Sep 2013 09:47:48 +1200 Subject: Re: [gdal-dev] HFA and RAT From: gillingham@gmail.com To: lucena_i...@hotmail.com CC: gdal-dev@lists.osgeo.org Hi Ivan, Yes I can see this also with the trunk version

Re: [gdal-dev] HFA and RAT

2013-09-03 Thread Sam Gillingham
Hi Ivan, Yes I can see this also with the trunk version. The problem is that with the RFC40 changes the HFA driver always returns something from GetDefaultRAT even if it is an empty table - you can now start writing data directly into the table with the returned object. Below is a patch to preven

[gdal-dev] HFA and RAT

2013-09-03 Thread Ivan Lucena
Take any image, a screenshot of your desktop for example, save it as .bmp "gdal_translate" it to HFA, .img file, and run gdalinfo on it (trunk version). It's only me or at the end of the gdalinfo report do you also see for each band? Band 1 Block=64x64 Type=Byte, ColorInterp=Undefined Descri