How to draw a line between two points (already plotted through Kmlwrite command) on the google earth by using Matlab?

3 Ansichten (letzte 30 Tage)
latdata= [33.55846944 33.58570278 33.636225 33.56205833 33.6058 33.63206667 33.59371389 33.61223056 33.59631389 33.59741944 33.6915]
longdata=[73.06216111 73.08893333 73.07069167 73.10641111 73.06605833 73.08605556 73.05567778 73.02205278 73.04736111 73.02910833 73.00805833]
%for i=1:11
lat=latdata(11)
lon=longdata(11)
h=geoshow(latdata,longdata)
name ={'1' '2' '3' '4' '5' '6' '7' '8' '9' '10' 'F10'};
filename = 'test.kml';
%end
kmlwrite(filename,h, 'Name', name, 'Icon', ...
'http://maps.google.com/mapfiles/kml/paddle/purple-stars.png');
%winopen(filename)
OK..this is my simple code. which allows me to plot nodes on the basis of their longitude and latitude values. Can anyone help by telling me that how can i draw a line between set of nodes through a matlab command. Which will show a path between two nodes. Any help would be highly appreciated.
Thanks in Advance.

Antworten (1)

Nikola
Nikola am 23 Feb. 2012
Hello,
I had a similar problem recently, and I'd found this kml line function. I hope it will help.
Greetings,
Nikola Besinovic

Kategorien

Mehr zu Mapping Toolbox finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by