Looking around the source for the HFA driver I was able to find hfatest.cpp. I compiled that and got what I needed with the -dt option. Problem solved!
-Ryan On Fri, May 30, 2014 at 9:10 AM, Ryan <[email protected]> wrote: > Erdas has some example data: > > http://download.intergraph.com/downloads/imagine-photogrammetry-and-lps-example-data > > It's a large zip (~900Mb) so I attached just the important image/block > file/doc. > > -Ryan > > > > > On Fri, May 30, 2014 at 12:51 AM, Even Rouault < > [email protected]> wrote: > >> On Thursday 29 May 2014 16:42:35 Ryan wrote: >> >> > 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. >> >> >> >> Access to the .blk and one of the .img could be useful for investigation. >> >> >> >> > >> >> > -Ryan >> >> > >> >> > >> >> > On Thu, May 29, 2014 at 3:24 PM, Even Rouault < >> [email protected]> >> >> > 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 >> >> -- >> >> Geospatial professional services >> >> http://even.rouault.free.fr/services.html >> > >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
