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 that.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40648#40648





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 Schultz  wrote:

> 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 could make
> that error more discriptive but it could save a good couple hours or so
> trying to troubleshoot!  :P
>
>
> Thank you!
>
> Cheers,
> Nick
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=23750#23750
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 could make that error 
more discriptive but it could save a good couple hours or so trying to 
troubleshoot!  :P 


Thank you!

Cheers,
Nick

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23750#23750





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 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
> FeatureModelSource::gridAndRenderFeaturesForStyle line 195:
> [code]
> FeatureGridder gridder( extent.bounds(), _gridding.get() );
> [/code]
> Causing the crash.
>
> Feature overlay works perfect now!
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=23481#23481
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 FeatureSourceOGR returned NULL because the file 
> could not be loaded. This was not checked in 
> FeatureModelSource::gridAndRenderFeaturesForStyle line 195:
> [code]
> FeatureGridder gridder( extent.bounds(), _gridding.get() );
> [/code]
> Causing the crash.
>
> Feature overlay works perfect now!
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=23481#23481
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 
FeatureModelSource::gridAndRenderFeaturesForStyle line 195:
[code]
FeatureGridder gridder( extent.bounds(), _gridding.get() );
[/code]
Causing the crash.

Feature overlay works perfect now!

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23481#23481





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 wrong?

Thank you!

Cheers,
Martin[/code]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23471#23471





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 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 SVN head, so I found out that in
> osgEarthFeatures/FeatureModelSource.cpp
> on line 192 the call getFeatureSource()->getFeatureProfile()->getExtent(); 
> returns a NULL pointer, causing the crash.
>
> So what went wrong here? Maybe there is a plugin DLL I did not copy to the 
> correct position or something?
> Thanks for your help!
> Martin
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=23417#23417
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org