Importing KML File Into LabVIEW

Updated May 3, 2018

Reported In


  • LabVIEW

Issue Details

I have used Google Earth to set some coordinates and exported a KML file. I'd like to use the information in the KML file in LabVIEW. How can I do this?


  1. Read KML file as text file 
  2. Convert string to array
  3. Search for relevant information
  4. Extract relevant information
The image below shows an example of how this could be achieved.

Additional Information

There is no official API for importing KML files into LabVIEW from Google Earth or Maps, but it is possible to read a KML file as a text file and then use labVIEW string and array manipulation functions to extract the useful information.