kml2kmz.m

Version 1.3.0.0 (4.19 KB) by Ryan Bell
Converts .kml file types into self-contained .kmz filetypes.
549 Downloads
Updated 10 Dec 2012

View License

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 (2024). 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 Linux
Categories
Find more on Google Earth in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

v2.1 - added conditional check for existing, but empty, elements

1.2.0.0

Added online file download, improved error detection, and does not copy identical files more than once.

1.0.0.0