[gdal-dev] Reading contents of Erdas Block File

Ryan troll1602 at gmail.com
Thu May 29 16:42:35 PDT 2014


There is a set of images (a handful of .img) and only one block file. I can
open any of the images but that doesn't seem to access the metadata that's
stored on the block file.

-Ryan


On Thu, May 29, 2014 at 3:24 PM, Even Rouault <even.rouault at mines-paris.org>
wrote:

>  On Thursday 29 May 2014 12:41:17 Ryan wrote:
>
> > I have some imagery that has metadata stored in Erdas Block Files (.blk)
>
> > that I am having a hard time reading.
>
> >
>
> > It likes the data is stored in an HFA Header, when viewing the file (cat
> or
>
> > less) it begins with "EHFA_HEADER_TAG".
>
> >
>
> > However, there are no raster bands so using gdalinfo or GDALOpen errors
> out
>
> > with:
>
> > ERROR 1: Unable to open image_name_file.blk, it has zero usable bands.
>
>
>
> Did you try opening the main file, the .img ?
>
>
>
> >
>
> > Any ideas on reading this kind of file?
>
> >
>
> > -Ryan
>
> --
>
> Geospatial professional services
>
> http://even.rouault.free.fr/services.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140529/6f965861/attachment.html>


More information about the gdal-dev mailing list