A KML file is a keyhole markup language file and is one of the GIS (Geographic Information System) file formats. KML, like HTML, is a markup language and includes geographic information in vector form, such as points, lines, and polygons, as well as in raster form, such as aerial or satellite images. All data is stored with an XML syntax.
The KML format was originally developed by the satellite image company Keyhole Corp. Developed, but this was taken over in 2004 by Google. KML has been recognized as the standard by the Open Geospatial Consortium and is the file format for Google Earth and Google Maps.
Google Earth processes KML files in much the same way as a browser processes html files. In addition to the file extension KML, the extension kmz is also used for compressed KML files. These are just a ZIP archive that contains the embedded data, such as textures and 3D models as separate files.
Some programs require the King.KML FDO Provider for KML or a special script to import the files. Newer versions often support the format natively.
Most often resolving problems with opening KML files is very simple. Just install an appropriate program that supports such files. All of the listed programs support KML files, but may vary in offered function and purpose. Some programs may be capable only of viewing contents of KML files or offer file conversion options, but may not be capable of editing such files.
It is possible that although a compatible program has been installed on user’s system, it is not used by the system to open it. This may happen because no default application was associated with this type of files. To associate KML files with given application, select "Open with" from drop-down menu (accessed by right-clicking on the file). Then select from the list the program or application you want to be used to open this type of file. If the Google Earth applications is not on the list, select "Browse" option in order to manually locate the directory where Google Earth has been installed.
Sometimes problems with opening KML files may not lie with the application itself, but can arise due to other causes, such as: