Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2011-06-17 Thread Jordan Sotomayer
Thought I would give this thread a little bump to indicate that I am positive this is an error in Windows and not with OSG. TinyXML is not a bad idea. It is also not a bad idea to run some disaster recovery and move unnecessary files to a cloud to improve your performance. It can be as simple as

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-02-05 Thread Glenn Waldron
That's probably a generic Windows error, and not something I could fix. In any case the plan is to get rid of the expat dependency anyway and embed something like tinyxml instead, making the problem moot. Glenn Waldron : Pelican Mapping : +1.703.652.4791 On Fri, Feb 5, 2010 at 6:30 PM, Nick Sch

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-02-05 Thread Nick Schultz
Hi glenn, Also while playing with osgEarth, I got an error saying couldn't find ordinal 63 in libexpat.dll. Took me forever to find out what that meant, but it actually means that it couldn't find the dll file, whereas I thought it found the dll but something else was corrupt. Not sure if you

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-02-01 Thread Glenn Waldron
Thanks Martin; I've opened a ticket to install better error checking in this scenario. http://www.osgearth.org/ticket/100 Glenn Waldron : Pelican Mapping : +1.703.652.4791 On Mon, Feb 1, 2010 at 7:20 AM, Martin Scheffler wrote: > OK, got it working now. The

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-02-01 Thread Jason Beverage
Glad to hear you got it working! Jason On Mon, Feb 1, 2010 at 7:20 AM, Martin Scheffler wrote: > OK, got it working now. The problem was I did not set the working directory > to osgEarth/bin. This caused the relative paths in the .earth file to be > incorrect. > createFeatureProfile() in Featu

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-02-01 Thread Martin Scheffler
OK, got it working now. The problem was I did not set the working directory to osgEarth/bin. This caused the relative paths in the .earth file to be incorrect. createFeatureProfile() in FeatureSourceOGR returned NULL because the file could not be loaded. This was not checked in FeatureModelSourc

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-02-01 Thread Martin Scheffler
It seems that OGR is unable to find the ESRI driver. [code] OGRGetDriverByName( "ESRI Shapefile"); [/code] returns NULL. This is not checked and causes a crash. I am using FWTools 2.4.6. I have copied the DLLS in the FWTools bin directory to a location in my path. Do you have an idea what I do w

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-01-29 Thread Glenn Waldron
Martin, This is working correctly on my end. Are you using osgEarth 1.3? Can you confirm that you have a usa.prj file alongside your usa.shp? Glenn Waldron : Pelican Mapping : +1.703.652.4791 On Fri, Jan 29, 2010 at 3:45 PM, Martin Scheffler wrote: > It's the data included in the SVN, and the

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-01-29 Thread Martin Scheffler
It's the data included in the SVN, and the example that I linked in the first post. Thank you! Cheers, Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23440#23440 ___ osg-users mailing list

Re: [osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-01-29 Thread Jason Beverage
Hi Martin, Can you provide your data and a sample .earth file that is causing the issue? Thanks! Jason On Fri, Jan 29, 2010 at 8:23 AM, Martin Scheffler wrote: > Hi, > > first up, osgEarth is absolutely amazing! It is a lot of fun to play around > with. > > But now to my problem: Everything c

[osg-users] [3rdparty] osgearth crashes when I load a shape file

2010-01-29 Thread Martin Scheffler
Hi, first up, osgEarth is absolutely amazing! It is a lot of fun to play around with. But now to my problem: Everything crashes when I try to load a shape file! I added a shape file as seen here: http://osgearth.org/wiki/TileSourcePluginModelFeatureOverlay Luckily I built in debug mode from SV