[Gdal-dev] Error reading ArcInfo Grid

Matthew Perry perrygeo at gmail.com
Wed Sep 27 23:55:11 EDT 2006


Frank,

On 9/27/06, Matthew Perry <perrygeo at gmail.com> wrote:
> Frank,
>
> On 9/27/06, Frank Warmerdam <warmerdam at pobox.com> wrote:
> > Matthew Perry wrote:
> > > Trying to import an ArcInfo Grid into grass and I'm getting a bunch
> > > of the following errors:
> > >
> > > ERROR 1: IReadBlock failed at X offset 0, Y offset 5399
> > > ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 5399
> > >
> >
> > I downloaded and tried this dataset and it seemed to work ok for me.
> > Could you perhaps try it with FWTools 1.0.5?  I imagine it was a compression
> > type that was fixed since the version of GDAL you are using.
> >
> > Looking through the code it seems like the last improvement in that code
> > was in late 2005, so I presume GDAL 1.3.2 should work too.  Let me know
> > if you see the problem with FWTools 1.0.5. Otherwise I think we can
> > "write it off" as an already fixed problem.
> >
>
> Hrmmm. I'm using gdal 1.3.2 on our linux machine and fwtools 1.0.5 on
> windows.. same error with both.
>
> I'll try the latest cvs and see if that works...
>

OK. My bad on this one. That grid works fine for me as well. It was in
a directory with a bunch of other grids (all with the same problem)
and I just used arc to copy one of them into its own directory for a
smaller download. Apparently copying it solved the problem !

I guess the lesson is that it's dangerous to keep all your grids in a
single directory.. since they all share the info folder, the risk of
corrupting them becomes high.

-- 
Matthew T. Perry
GIS Analyst / Software Engineer
National Center for Ecological Analysis and Synthesis (NCEAS)
work: perry at nceas.ucsb.edu
web: http://www.perrygeo.net



More information about the Gdal-dev mailing list