read_kml

Reads a Google Earth .kml file into Matlab
9.5K Downloads
Updated 31 Mar 2016

View License

Opens a Google Earth kml file and reads the coordinates (x,y,z) into Matlab.

Cite As

Amy Farris (2026). read_kml (https://www.mathworks.com/matlabcentral/fileexchange/13026-read_kml), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Google Earth in Help Center and MATLAB Answers
Version Published Release Notes
2.0.0.0

update lisence
Now reads multiple sets of coordinates. (x,y) can be in any coordinate system.

1.0.0.0

Improved parsing of Latitude and Longitude. Old method occasionally gave wrong results.