kml2kmz.m
Version 1.3.0.0 (4.19 KB) by
Ryan Bell
Converts .kml file types into self-contained .kmz filetypes.
kml2kmz copies all the support documents used by the kml into a single 'files' folder, and updates the file path in the kml to the new relative path accordingly. The kml is also copied, then zipped up with the new copies of supporting files. The zip file is then renamed with a .kmz extension, and put in the same folder as the original kml. The new copies of supporting documents are then deleted by default. Supporting documents referenced by KML attributes are not yet supported.
Cite As
Ryan Bell (2026). kml2kmz.m (https://www.mathworks.com/matlabcentral/fileexchange/39128-kml2kmz-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Google Earth in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
