Hi Dustin,
do you have any chance to share that dataset? (It is freely available? Did
you create it through gdal_translate? ...)
Anyway, actual geotools version is using GDAL 1.4.5.
Taking a look on the releases news on [1], I can see several bug fixes
involving Erdas Imagine (HFA driver) after that version.
I guess, you have encountered one of the GDAL bugs which have been solved in
the recent releases. ([2] should summarize some of them)
Note that we already did tests with GDAL 1.7.2 and we will move
geotools/imageio-ext to that version.
If I could get access to that dataset, I would try a gdalinfo and a
gdal_translate on GDAL 1.4.5 on this to see how it works.
Hope this helps.
Regards,
Daniele
[1]: http://trac.osgeo.org/gdal/wiki (Releases section at the bottom of the
page).
[2]:
http://trac.osgeo.org/gdal/query?status=closed&component=GDAL_Raster&order=id&col=id&col=summary&col=component&col=status&col=owner&col=priority&col=milestone&milestone=!1.4.4&milestone=!1.4.2&milestone=!1.4.3&milestone=!1.4.1&keywords=~HFA&desc=1&type=defect
On Wed, Sep 15, 2010 at 8:43 PM, Dustin P Roszell <[email protected]> wrote:
> Hi,
>
> I am using trying to use ErdasImgReader to create a GridCoverage2D from
> an Erdas img file. It seems to be having trouble creating the coverage
> if "Run-Length Encoding" is used in the .img file
>
> Here is the error:
>
> Sep 15, 2010 1:42:27 PM
> it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
> INFO: Last error: GetBlockRef failed at X block offset 0, Y block offset 0
> Sep 15, 2010 1:42:27 PM
> it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
> INFO: Last error number: 1
> Sep 15, 2010 1:42:27 PM
> it.geosolutions.imageio.gdalframework.GDALImageReader readDatasetRaster
> INFO: Last error type: 3
>
>
> Any info would be appreciated!
>
> Thanks,
> Dustin
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584962313
fax: +39 0584962313
mob: +39 328 0559267
http://www.geo-solutions.it
-------------------------------------------------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users