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 you've built your database to cater to a cylindrical map projection. Also in the method convertLatLongHeightToXYZ(), height is given in meters, not degrees... Shayne ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53860#53860 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

