Hi!
I am running a tarball checkout from 26th April and I'm having troubles
loading certain ESRI shape files in Windows (I guess not much has
happened to the ESRIShape plugin since then). In Linux it all works
fine. For example, Countries.shp which can be found at the following URL
fails in Windows:
http://ioc.unesco.org/Oceanteacher/OceanTeacher2/07_Examples/MapGIS/ShapeFiles/UTGlobal/
I have tracked down the failure to line 38 in ESRIShape.cpp:
if( (nbytes = ::read( fd, &val, sizeof(T))) <= 0 )
return false;
It seems like ::read fails at point number 73 in the first polygon in
Countries.shp in Windows but not in Linux.
Can anyone reproduce this problem?
Has anyone experienced similar problems?
Does anyone have a suggestion of what's going on?
Regards,
Andreas Ekstrand
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/