Hi Rambabu
Hi,Iam using below code

        osg::EllipsoidModel elipsModelObj;
        elipsModelObj.convertLatLongHeightToXYZ(12.9716,77.5946,500,x,y,z);

        Output x,y,z is different from online convertor  x,y,z coordinates  ?
        How  to solve this  ?

Which online converter? Maybe you are using it wrong ;-)

Did you check for radians/degrees? An be aware that 12.9716 is not the same as 12°97" ... and that some converters may use the Long/Lat convention ...
Also note that the OSG uses the WGS84 Ellipsoid as standard.

Cheers
Sebastian


...

Thank you!

Cheers,
Rambabu

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





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

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

Reply via email to