O'Reilly logo

The KML Handbook: Geographic Visualization for the Web by Josie Wernecke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Sky Data in KML

You can create KML files that display objects in the sky, such as stars, constellations, planets, the Earth’s moon, and galaxies. This appendix explains how to create a KML file to display celestial data in an Earth browser that supports Sky data, such as Google Earth or Microsoft’s WorldWide Telescope. Specifically, you’ll need to do the following:

  • Add a hint attribute to the <kml> element at the beginning of the KML file to indicate that the file contains sky data, not Earth data

  • Convert celestial coordinates to Earth-based KML coordinates

Sky Mode

The Google Earth user can control when to switch to Sky mode, using the View > Switch to Sky menu option or the Sky button in the user interface. When the user switches to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required