Re: [osg-users] convertLatLongHeightToXYZ

2016-11-12 Thread Robert Osfield
On 12 November 2016 at 08:56, Rambabu Repaka wrote: > Hi,Can anyone post a code where function converts latitude,longitude,height > to x,y,z and returns the x,y,z coordinates in osg. You don't need anyone to post code for you, if you have the OSG you already have the

Re: [osg-users] convertLatLongHeightToXYZ

2016-11-12 Thread Rambabu Repaka
Hi,Can anyone post a code where function converts latitude,longitude,height to x,y,z and returns the x,y,z coordinates in osg. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69339#69339

Re: [osg-users] convertLatLongHeightToXYZ

2010-10-04 Thread lucie lemonnier
Hi, Thank you everyone for your replies. In fact, I made a mistake because I built my terrain with VPB with the option --geocentric so my terrain is geocentric. I didn't remember anymore. In fact, I rotate the terrain and that's why it seem flat. But your answers helped me a lot because I

Re: [osg-users] convertLatLongHeightToXYZ

2010-10-01 Thread lucie lemonnier
Hi, In fact, my model is not spheroid, it is a flat terrain. That's why I need simply the position. Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32257#32257 ___

Re: [osg-users] convertLatLongHeightToXYZ

2010-10-01 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
-users] convertLatLongHeightToXYZ Hi, In fact, my model is not spheroid, it is a flat terrain. That's why I need simply the position. Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32257#32257

Re: [osg-users] convertLatLongHeightToXYZ

2010-10-01 Thread Glenn Waldron
: Friday, October 01, 2010 3:06 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] convertLatLongHeightToXYZ Hi, In fact, my model is not spheroid, it is a flat terrain. That's why I need simply the position. Thank you! Cheers, lucie -- Read this topic online

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-30 Thread lucie lemonnier
Hi, Thank you for your replies! This helps me a lot! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32203#32203 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-30 Thread lucie lemonnier
Hi, The function ellipsoid-computeLocalToWorldTransformFromLatLongHeight(osg::DegreesToRadians(lat),osg::DegreesToRadians(lon), altitude, position); give me the same values of X,Y,Z as if I use directly the function

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-30 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] convertLatLongHeightToXYZ Hi, The function ellipsoid-computeLocalToWorldTransformFromLatLongHeight(osg::DegreesToRadia ns(lat),osg::DegreesToRadians(lon), altitude, position); give me the same values of X,Y,Z as if I use directly

[osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread lucie lemonnier
Hi, Can you explain me a little the function osg::EllipsoidModel::convertXYZToLatLongHeight? I don't understand why x and y are calculated based on height. If I changed the height of a model and I don't change the latitude and longitude, x and y change. Why? Thank you! Cheers, lucie

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread Robert Osfield
HI Lucie, The XYZ are in Earth Center Earth Fixed coordinates, not local coordinates to surface of the earth. Robert. On Wed, Sep 29, 2010 at 9:52 AM, lucie lemonnier lucielemonn...@hotmail.fr wrote: Hi, Can you explain me a little the function

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread lucie lemonnier
Hi, I understood that the XYZ are in Earth Center Earth Fixed coordinates. So is it normal that X,Y are calculated based on height? In fact, I put a latitude, longitude and height on a model, I use osg::EllipsoidModel::convertLatLongHeightToXYZ to obtain the position x,y,z and I transform my

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread Robert Osfield
Hi Lucie, On Wed, Sep 29, 2010 at 10:43 AM, lucie lemonnier lucielemonn...@hotmail.fr wrote: I understood that the XYZ are in Earth Center Earth Fixed coordinates. So is it normal that X,Y are calculated based on height? I'm a bit confused by your question, in ECEF the coordinate is always

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread lucie lemonnier
Hi, Thank you for your reply. I will look at this. Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32173#32173 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] convertLatLongHeightToXYZ

2010-09-29 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
@lists.openscenegraph.org Subject: Re: [osg-users] convertLatLongHeightToXYZ Hi, I understood that the XYZ are in Earth Center Earth Fixed coordinates. So is it normal that X,Y are calculated based on height? In fact, I put a latitude, longitude and height on a model, I use osg::EllipsoidModel