msOGRFileNextShape(): OGR error. ReadBytes(): Attempt to read past end of data block.

Daniel Morissette dmorissette at MAPGEARS.COM
Sun Jul 8 16:08:59 EDT 2007


Tamas Szekeres wrote:
> 
> Here's an OGR related error:
> 
> msOGRFileNextShape(): OGR error. ReadBytes(): Attempt to read past end
> of data block.
> msDrawMap(): Image handling error. Failed to draw layer named 'Foutnev'.
> 

...

> 
> At this point I cannot decide whether the problem might be dedicated
> to a change in the OGR or the mapserver project (I'm using the recent
> version of both).
> 

This error is caused by the version of the MITAB library included in the 
SVN trunk version of GDAL, probably this MITAB bug:
http://bugzilla.maptools.org/show_bug.cgi?id=1722

This and a few other issues are fixed in the current CVS (dev) version 
of the MITAB library. I have upgraded the copy that's included in OGR 
SVN trunk a few minutes ago, so you can either get the latest GDAL SVN 
trunk, or get GDAL 1.4.2 which is based on a stable release of MITAB 
that didn't have this bug.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the mapserver-dev mailing list