Matlab 'LookAt'

38 views
Skip to first unread message

Sanjit Samra

unread,
Dec 24, 2014, 9:17:18 PM12/24/14
to kml-support-g...@googlegroups.com
I have a defined flight path over the sea but when i open up goolge earth the camera view scrolls down to an altitude of -512m.  I am trying to get the view to be approximately  1000m above the path.  I am using the google earth toolbox for the conversion to kml

%Start Icon
kmlStart = ge_point(Long(1),Lat(1),Alt(1),...
        'iconURL',iconStart,...
        'iconScale',.75,...
        'altitudeMode','absolute',...
        'name','Start',...
        'description','the initial location of the path');

%Finish Icon
kmlEnd = ge_point(Long(end),Lat(end),Alt(end),...
        'iconURL',iconEnd,...
        'iconScale',.75,...
        'altitudeMode','absolute',...
        'name','End',...
        'description','the final location of the path');

%Path 
kmlStr = ge_plot3(Long,Lat,Alt,...
        'lineWidth','2',...
        'lineColor','ffc0c0c0',...
        'altitudeMode','absolute',...
        'extrude',1,...
        'tessellate',1,...
        'polyColor','ffc0c0c0');

%Plot Path with Start and Finish icons
ge_output('path2.kml',[kmlStart,kmlEnd,kmlStr,kmleye]);
Reply all
Reply to author
Forward
0 new messages