How to open a KML file

by Pramith

There are various programmes that can be used to open a KML file. This Keyhole Markup Language file contains geographical data and is used with Google Earth or Google Maps.

Open a KML file

A KML file is a file format that contains various types of geographical data. The format is therefore used, for example, in programmes such as ‘Google Maps’ or ‘Google Earth’. The file contains, for instance, satellite images with saved routes or waypoints.

  • To open a KML file, you will need one of the programmes mentioned above. These are usually pre-installed on smartphones and the iPhone. On a computer, the programme works directly in the browser.
  • You can open the KML file in your web browser by going to “Google Maps”. Click on the preview in the bottom left-hand corner to choose whether you want to view the map or satellite view.
  • Now open the menu by clicking on the three horizontal lines to the left of the search bar. Select ‘Saved’. Google will now display lists, labels and maps.
  • Click the “Maps” tab. This allows you to create new maps. To do so, click “Create map” at the very bottom of the menu. Confirm the next dialogue box by clicking “Create”.
  • You will now see a blank world map, known as the base map. In the white editing area, you can import your own file. The programme will then read your saved KML file, which contains geographical information, and open it.

Opening and editing KML files

You can also open KML files to edit their content or convert them to other formats. Editors and converters are available to assist with this.

  • If you want to view the contents of a KML file, use a text editor such as Notepad or Notepad++. As it is an XML-based file, it can be read like a programming language.
  • A typical scenario for a KML conversion is to ensure compatibility with other software tools. Some programmes cannot read KML files but support other formats such as GPX, CSV or shapefiles. A KML converter ensures compatibility between the file formats.
  • If you have designed maps with your own routes and now wish to use them in a sat-nav, you will usually need the GPX format. A KML-to-GPX converter solves this problem.
  • KML files often need to be analysed or evaluated in other ways. This is best done in Google Sheets or Microsoft Excel. In this case, you should convert the file to a CSV file, as both spreadsheet programmes can read this format.

Related Articles

Leave a Comment