Rank: 418963 based on 0 downloads (last 30 days) and 0 file submitted
photo

Ryan

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Ryan View all
Updated File Comments Rating
21 May 2013 KML Toolbox v2.7 Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more Author: Rafael Oliveira

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

21 May 2013 KML Toolbox v2.7 Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more Author: Rafael Oliveira

Contact us