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 件)

Anshika Chourasia
Anshika Chourasia 2022 年 2 月 25 日

0 投票

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 ExchangeGeographic Plots についてさらに検索

タグ

質問済み:

2022 年 2 月 21 日

回答済み:

2022 年 2 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by