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!

回答(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.

类别

帮助中心File Exchange 中查找有关 Geographic Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by