Hi Robert, The GDAL warning that I mentioned earlier isn't present in a new file that Brad gave me, but osgTerrain still gives the strange results. I'll try to track it down some more, but I'm not having much luck. The geotransform is being read in correctly and the bounds computed correctly, so that doesn't seem to be the issue. I'm a little stumped as to how the osg::HeightField is determining it needs 8 rows when it should be much bigger (the source file is 8050 by 8050).
If you can think of anything I should look at it, let me know. Hope you're enjoying your new place (as much as one can with dialup access only that is :) ) Thanks, Jason ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, September 01, 2006 11:03 A To: osg users Subject: Re: [osg-users] OSGDEM only produces a strip? Hi Jason, On 9/1/06, Jason Beverage <[EMAIL PROTECTED]> wrote: Hi Brad, I'm still trying to figure out what's going on with that file. Putting the strip into osgpick shows that the width of the strip is huge, going from -116 or so to 0 when it should go from -116.015 to - 115.9428. I can't really tell what the issue is right now, but some of the osg::HeightFields have a huge number of columns, but only 8 rows when it gets down to it. Robert, any ideas? Can Brad send you his test data and have you take a look at it? Curiously enough I'm investigating an osgTerrain bug that involves imagery that goes past the date line when working in geocentric mode. The bug shows itself as overlapping geometry generated around the dateline seem of the sphere. What you see is black strips that run north to south. I don't think Brad problem is related to this. If GDAL is producing strange results with the data then OSG wil inherit this. Having the data personally would be useful, but then perhaps reporting it to the GDAL team would be even more useful. Its worth baring in mind that I'm still stuck with modem access so download data is not something that is very practical for me right now. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
