Thanks for the input. So is the WGS84 the default setting for osgdem? 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? -Shayne -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glenn Waldron Sent: Monday, June 16, 2008 10:19 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgdem terrain coordinate system... Shayne, osgdem adopts the coordinate reference system of the first input that you provide. So if your input is (for example) WGS84, and you are not building a geocentric database,I believe the terrain will be in a flat Plate Carre projection (X=Long, Y=Lat) with the origin at lat=0, long=0. If you are using --geocentric, the origin will be at the center of the earth. Glenn On Mon, Jun 16, 2008 at 11:10 AM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC <[EMAIL PROTECTED]> wrote: Can anyone tell me what coordinate system and what origin is assumed when osgdem builds a terrain database? I'm feeding geo-referenced files that use upper left and lower right lat/lon pairs to osgdem, but it's not clear to me where the origin is for the generated database. Thanks in advance. -Shayne _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

