If you need real 3D, then you might consider the Informix with the Geodetic blade. Not free, but it has the fucntionality <http://www-306.ibm.com/software/data/informix/blades/geodetic/> Or think about directly using the Hipparchus libraries: http://www.geodyssey.com/ Again, not free. david valentine