Hello all,<br><br>I just tried using r.out.kml with<br><br><b>r.outkml input=Tdr1980.12 output=Tdr.kml -l </b><br><br>and got the following errors:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
r.out.kml: line 96: [: -eq: unary operator expected<br>Sorry, &lt;m&gt; is not a valid flag<br><br>ERROR: Required parameter &lt;map&gt; not set:<br> &nbsp; &nbsp;(Name of existing raster map).<br><br>Description:<br> Outputs basic information about a user-specified raster map layer.
<br><br>Usage:<br> <a href="http://r.info">r.info</a> [-rst] map=name<br><br>Flags:<br> &nbsp;-r &nbsp; Print range only<br> &nbsp;-s &nbsp; Print resolution (NS-res, EW-res) only<br> &nbsp;-t &nbsp; Print raster map type only<br><br>Parameters:<br> &nbsp;map &nbsp; Name of existing raster map
<br>r.out.kml: line 134: [: -eq: unary operator expected<br>mogrify: unable to open file `.png&#39;: No such file or directory.<br>mogrify: unable to open image `_legend.png&#39;: No such file or directory.</blockquote><div>
<br>Could anyone tell me how to fix it? I did look at David&#39;s code but could&#39;nt troubleshoot the problem..<br><br>I am using Grass 6.0.1 on Ubuntu 6.06 LTS..<br><br>Thanks very much!<br><br>Vishal<br><a href="http://www.people.cornell.edu/pages/vkm2">
www.people.cornell.edu/pages/vkm2</a><br><br><br> </div>On Jan 4, 2008 8:23 PM, David Finlayson &lt;<a href="mailto:david.p.finlayson@gmail.com">david.p.finlayson@gmail.com</a>&gt; wrote:<br>&gt; Here is a link to my web site with the latest version:
<br>&gt; <br>&gt; <a href="http://david.p.finlayson.googlepages.com/grasstogoogleearth">http://david.p.finlayson.googlepages.com/grasstogoogleearth</a><br>&gt; <br>&gt; I have something that works for me, but I was forced to use image
<br>&gt; magick to clip the nodata collar off of the exported png file. If I<br>&gt; can figure out how to get a one-to-one correspondence between raster<br>&gt; cells and image pixels, I fix it again.<br>&gt; <br>&gt; David
<br>&gt; <br>&gt; _______________________________________________<br>&gt; grass-user mailing list<br>&gt; <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user">
http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>&gt; <br><br>