How to open and plot .kml file in matlab
194 views (last 30 days)
Show older comments
Kaushal Kishore
on 17 Aug 2018
Answered: Stefanie Schwarz
on 11 Nov 2022
Hi i want to plot the kml file in matlab. Can anyone please help me out.
0 Comments
Accepted Answer
Walter Roberson
on 17 Aug 2018
Reading:
https://www.mathworks.com/matlabcentral/fileexchange/35642-kml2struct and https://www.mathworks.com/matlabcentral/fileexchange/25104-kml-matlab-shapefile-conversion
There are several routines that can write KML files https://www.mathworks.com/help/map/standard-file-formats.html
0 Comments
More Answers (1)
Stefanie Schwarz
on 11 Nov 2022
In R2021b and later, you could use the following functions from Mapping Toolbox to import a KML file and plot the markers on a world map:
>> T = readgeotable("myPlaces.kml");
>> wmmarker(T)
0 Comments
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!