Create Shapefile or KML file with an attribute

2 views (last 30 days)
I have a variable in matlab that is [Lat, Long, VALUE].
Using kmlwritepoint I can create a KML file with the latitudes and longitudes. However I am unable to maintain the third column of data. Is there a way to create either a shapefile or kml file while keeping the third column as an attribute?

Answers (1)

Anshika Chourasia
Anshika Chourasia on 25 Feb 2022
Hi Aaron,
As per my understanding you can have additional column in a KML file by specifying a Name-Value pair argument.
Please refer this link for writing geographic point data to KML file.


Community Treasure Hunt

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

Start Hunting!