Create multiple lines in one .kml File

Hello everyone,
i want to create multiple seperate lines in one .kml File. If i use kmlwriteline i can create only one line.
KML-Files allow muliple placemarks within a <Document> ... <\Document> tag.
Is there any way to do this with Matlab?
Greetings

Answers (2)

"kmlwriteline()” actually, allows you to write multiple lines of data if your data values are NaN-delimited. Clarification request has been submitted to the development team on the documentation.
Not much documentation on it but Example 10 of this page shows one method: https://www.mathworks.com/help/map/exporting-vector-data-to-kml.html

Asked:

on 7 Nov 2019

Answered:

on 21 Mar 2023

Community Treasure Hunt

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

Start Hunting!