<div dir="ltr"><div><div>Hi,<br><br></div><div>kml is usually more used for vector data.<br></div>looking at the header "<img style="margin-right: 0px;" src="data:image/png;base64,iVBORw0KGgo", it seems that r.out.gdal is just writing the binary code for your raster in an image tag in the kml file ...<br>
<br></div><div>Have you try to transform your raster into vector (<a href="http://grass.osgeo.org/grass64/manuals/r.to.vect.html">http://grass.osgeo.org/grass64/manuals/r.to.vect.html</a>) and then to export the vector to kml ?<br>
<br><br></div><div>Sylvain<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-23 20:26 GMT+02:00 Vishal Mehta <span dir="ltr"><<a href="mailto:vishalm1975@gmail.com" target="_blank">vishalm1975@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi all,<br><br></div>I'm trying to classify a LANDSAT8 image. In the process, i'd like to export an unsupervised classification i did (using i.cluster, followed by i.maxlik) raster (type:CELL) into kml/kmz, so that I could get some visual idea of the classification. the classification is from 1 to 10, with null data present.<br>

<br><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">r.out.gdal -c input=lsat2014_unsupervised@PERMANENT output=C:\Users\Vishal\Documents\GIS\file3.kmz format=KMLSUPEROVERLAY type=Byte nodata=0<br>

<br></span></div>but no matter what flags i try, i get a black box on google earth. <br><img style="margin-right:0px" alt="" height="213" width="442"><br>
<br></div>I'm just using the GUI options, Grass7svn on Windows. FYI, I do know how to do this by modifying add-on r.out.kml in Linux, but it would be good if i could just do my entire workflow on one platform.<br><br>

<div><div><div>Thanks!<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Vishal<br clear="all"></div><div><div><br>-- <br>Vishal K. Mehta, PhD<br>Sr Scientist<br>
Stockholm Environment Institute - US<br>133 D St Suite F<br>Davis CA 95616<br><a href="http://www.sei-us.org" target="_blank">www.sei-us.org</a>
</div></div></font></span></div></div></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div>