On Mon, Jun 16, 2008 at 6:52 PM, Tueller,  Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[EMAIL PROTECTED]> wrote:
> Thanks for the input. So is the WGS84 the default setting for osgdem?

No, its not the default, both Glenn and I have explained the setting
you'll get, please go back and re-read.


> For
> more clarification, this is what I'm using to build my database.
>
> osgdem --TERRAIN --PagedLOD -t texture/w113 -d dted/w113 -t texture/w114 -d
> dted/w114 -l 4 -o myterrain/myterrain.ive
>
> The texture/w113 and dted/w113 directories contain the geo-referenced
> GeoTiff texture and corresponding DTED files to match. The same goes for the
> other directories. My resulting archive file contains a mosaic of terrain
> spanning from w114 n33 to w112 n40.
>
> When I view the terrain and an airplane model using osgViewer, the model
> appears centered at the origin and the terrain is way off in the distance. I
> want to move the model so that it is over the terrain. In order to do that,
> I need to know where the terrain is relative to the origin.
>
> So, given the information above, is the terrain origin at lat = 0, lon = 0?
> If so, does OSG support a lat/long to x/y conversion?

????

Please re-read the replies, and then check what coords your data is in
- then you'll know
what to expect on the OSG side.  Also try doing an osgconv on the topmost tile
this will tell you what the OSG thinks.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to