[Gdal-dev] GetNextFeature error handling
Tim Sutton
tim at linfiniti.com
Sun Sep 18 19:16:26 EDT 2005
Hi
Im trying to file away an outstanding bug in QGIS:
http://sourceforge.net/tracker/index.php?func=detail&aid=1211058&group_id=55820&atid=478378
If you look at the stack trace that the original poster kindly provided, you
will notice that the problem occurs in OGRShapeLayer::GetNextFeature (). Of
course the real cause of the problem is that the user has an invalid
shapefile (there is inconsistency with the number of points compared to the
number of dbf recs).
My question is, is there any way to gracefully trap this error?
I tested on gdal 1.2.6 btw
Many thanks
Tim Sutton
--
"The mind once expanded to the dimensions of larger ideas never returns to its
original dimensions."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20050919/f4be414e/attachment.bin
More information about the Gdal-dev
mailing list