I found this in the Povray Object Collection:
http://lib.povray.org/collection/tex...exturegen.html

It generates basicly a heightfield for a planet in equirectangular projection. If you are interested I can show you also how to modify the file to zoom into arbitary areas on the globe.