[osg-users] About LatLonHeight to XYZ Conversion
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Wed Feb 1 00:36:40 PST 2017
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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
More information about the osg-users
mailing list