Re: [osg-users] [osgPlugins] Problem in loading Shape file

2012-02-22 Thread Ulrich Hertlein
Hi Lalit, On 24/12/11 0:32 , Lalit Manchwari wrote: I followed your instruction and now program is not crashing. But in some file it does not load the complete shape file. I have attached here a shape file and its snapshot (with complete view). Please could you help. When opening the

Re: [osg-users] [osgPlugins] Problem in loading Shape file

2011-12-23 Thread Lalit Manchwari
Thanks ulrich for your answer I followed your instruction and now program is not crashing. But in some file it does not load the complete shape file. I have attached here a shape file and its snapshot (with complete view). Please could you help. Thank you! Cheers, Lalit

[osg-users] [osgPlugins] Problem in loading Shape file

2011-12-22 Thread Lalit Manchwari
Hi, I am loading *.shp file in my program. In some files program works fine (mostly shape file with lines) but in some other files program crashed. My code is : ... osg::Geode* geode = dynamic_cast osg::Geode* (osgDB::readNodeFile(Test.shp)); osg::ref_ptr osg::Group group(new

Re: [osg-users] [osgPlugins] Problem in loading Shape file

2011-12-22 Thread Ulrich Hertlein
Hi Lalit, On 22/12/11 21:46 , Lalit Manchwari wrote: I am loading *.shp file in my program. In some files program works fine (mostly shape file with lines) but in some other files program crashed. My code is : osg::Geode* geode = dynamic_cast osg::Geode*