Hi, really nice code, would you mind if I include your code into the my kml toolbox? (FE: http://www.mathworks.com/matlabcentral/fileexchange/34694-kml-toolbox-v2-3)
Regards,
Hi Rafael,
I really like this tool box, I have been using it quite a bit.
I wanted to report a possible error:
When using k.scatter3(lon,lat,z, ...
'iconColor','FFFF0000','iconScale',.2);
I get an error when plotting exactly 8 points
Cell contents reference from a non-cell array object.
Error in kml/scatter3 (line 131)
iconstyle.appendChild(this.textNode('color',arg.iconColor{i}));
-It seems to happen here in the scatter3 function because nc==nlat returns true, and it should probably be false.
if nc==nlat
iconstyle.appendChild(this.textNode('color',arg.iconColor{i}));
else
iconstyle.appendChild(this.textNode('color',arg.iconColor));
end
Thanks again for the toolbox
4
21 May 2013
KML Toolbox v2.3
Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more
It would be cool that the k.save function supported the path in the filename. i.e.:
k.save('path\filename.kml')
Now it ignores the path and saves the kml file in the current folder.
Thank you
Also, how can I avoid the display of the following lines in the Command Window? Thanks
ans =
type: 'Placemark'
id: [1x47 char]
Comment only
04 Apr 2013
KML Toolbox v2.3
Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more
It would be cool that the k.save function supported the path in the filename. i.e.:
k.save('path\filename.kml')
Now it ignores the path and saves the kml file in the current folder.
Thank you
5
03 Apr 2013
KML Toolbox v2.3
Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more
Just a quick comment, I'm doing some stuff that requires accurate lat and longs have gone through and changed
num2str(north) to num2str(north,8) to avoid loosing position accuracy
Comment only