How to plot points defined by latitude and longitude with Google earth toolbox
1 view (last 30 days)
Show older comments
Hi,
I am trying to plot a points picked up by a gps-device. I have my variable with latitude and longitude and this is the code i have written
>> output = ge_plot(ChipLatLong(:,2), ChipLatLong(:,1));
>> ge_output('ChipLatLong.kml',output);
Where ChipLatLong(:,2) are the longitudes and ChipLatLong(:,1) are the latitudes. The problem i have is that when I open the kml file is zoomes in to the correct area (all the points lie within a 10 meter radius), however it doesn't show any of the specific points. What am I doing wrong?
Viktor
0 Comments
Answers (1)
Paul
on 24 Jun 2016
This is old but the answer is to use ge_point or ge_point_new:
Z=30; %Some arbitrarily selected height
output = ge_point(ChipLatLong(:,2), ChipLatLong(:,1),Z);
ge_output('ChipLatLong.kml',output);
0 Comments
See Also
Categories
Find more on Mapping Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!