hpx2gs reads in a HEALPix sky map in FITS format or from a memory array and generates a cartesian (equirectangular) projection of it in a PNG file, as well as a Google Sky compatible KML file. Missing or unobserved pixels in the input data will be totally 'transparent' in the output file.
map = findgen(48) |
hpx2gs, map, kml='my_map.kml',title='my map in Google' |
produces in my_map.kml and in my_map.png an image of the input map that can be seen with Google Sky. To do so, start GoogleEarth or GoogleSky and open my_map.kml. Under MacOSX, simply type open my_map.kml on the command line.
Version 3.82, 2022-07-28