Create multiple lines in one .kml File

8 views (last 30 days)
Tobias Stach
Tobias Stach on 7 Nov 2019
Answered: Samuel Feibel on 21 Mar 2023
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)

Pratheek Punchathody
Pratheek Punchathody on 27 Nov 2020
"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.

Samuel Feibel
Samuel Feibel on 21 Mar 2023
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

Categories

Find more on Tables 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!