File Exchange

image thumbnail

kmz2struct

version 1.0.0 (4.85 KB) by Nathan Ellingson
Converts KML or KMZ files to a Matlab structure.

581 Downloads

Updated 04 Jun 2020

From GitHub

View license on GitHub

This function will convert kml and kmz files to a matlab structure. If converting a kmz file it will extract it to a directory called '.kml2struct' in your home directory. This directory will be deleted when the function exits.

The output of this function should be similar to 'shaperead' except that it will add another field, "Folder", for the kml folder where the shape was file.

This function will only handle kml/kmz files with Point, LineString, and Polygon geometries. If you try to run this on a kml/kmz with different elements those elements will be omitted from the result

Cite As

Nathan Ellingson (2021). kmz2struct (https://github.com/ellingsonj/kmz2struct), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.