Create Shapefile or KML file with an attribute

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?
Thanks!

Answers (1)

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.

Tags

Asked:

on 21 Feb 2022

Answered:

on 25 Feb 2022

Community Treasure Hunt

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

Start Hunting!