Re: [osg-users] geographical coordination conversion

2013-07-31 Thread Tianyun Su
Hi, Shayne. Thanks for your reply. What i want to do is converting Lon/Lat coordinate with WGS84 coordinate system to X/Y coordinate with Mercator coordate system. How can I program in OSG? Thank you! Cheers, tianyun -- Read this topic online here:

Re: [osg-users] geographical coordination conversion

2013-04-29 Thread Shayne Tueller
The code snippet you provided maps from a geodetic coordinate system to a geocentric ECEF cartesian coordinate system so that the point (lat,lon,0) maps to the cartesian point (o,p,q) which lies on the surface of the ellipsoid. This probably isn't what you're looking for since it sounds like