Hi! I've been working on testing conversions from ECEF to LLA, as implemented by EllipsoidModel::convertXYZToLatLongHeight in ./include/osg/CoordinateSystemNode.
When testing XYZ/ECEF coordinate values that convert to LLA points with latitude = 90.0 or latitude = -90.0, the heights calculated by EllipsoidModel::convertXYZToLatLongHeight have substantial errors. With the provided change, points at the pole are handled more correctly. This has been tested against US NGA GoldData. Attached is a patched version of the file from master, though the code in question appears unchanged as far back as 3.4.1. I'm attempting to follow closely your submission guidelines. If you'd prefer a PR, I'd be happy to submit one. Thanks, Frank
CoordinateSystemNode
Description: CoordinateSystemNode
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
