[Gdal-dev] AIGReadBlock failure to read some ArcInfo Grid tiles

Frank Warmerdam warmerdam at pobox.com
Fri May 28 15:04:23 EDT 2004


Olsen, Keith wrote:
> Hello,
> 
>  
> 
> I am new to GDAL so forgive me if this issue has already been addressed.
> 
>  
> 
> I am using the GDAL AIG driver to read arcInfo grids with values that 
> range from 0-5.6 million.  When I read one of these grids I get the 
> following warning from gridlib.c:
> 
>  
> 
> *Warning 1: Unsupported Arc/Info Binary Grid tile of type 0x20 encountered.*
> 
> *This and subsequent unsupported tile types set to no data value.*
> 
>  
> 
> The read does not crash my program, but it skips 10-20% of the 4x256 
> pixel tiles in my image.  The non-skipped tiles seem to be read 
> correctly.  When I clip out a smaller area with a dropped tile, I get 
> the same problem.  The grids can be read in arcInfo and arcMap with no 
> problems.

Keith,

Support for block type 0x20 (32bit integer) was added March 26th.  You will
need a more recent build of GDAL, such as from a nightly CVS snapshot.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list