errors with r.out.kml Re: [GRASS-user] Raster kml export script?
Vishal Mehta
vishalm1975 at gmail.com
Sun Jan 6 14:21:48 EST 2008
Hello all,
I just tried using r.out.kml with
*r.outkml input=Tdr1980.12 output=Tdr.kml -l *
and got the following errors:
r.out.kml: line 96: [: -eq: unary operator expected
> Sorry, <m> is not a valid flag
>
> ERROR: Required parameter <map> not set:
> (Name of existing raster map).
>
> Description:
> Outputs basic information about a user-specified raster map layer.
>
> Usage:
> r.info [-rst] map=name
>
> Flags:
> -r Print range only
> -s Print resolution (NS-res, EW-res) only
> -t Print raster map type only
>
> Parameters:
> map Name of existing raster map
> r.out.kml: line 134: [: -eq: unary operator expected
> mogrify: unable to open file `.png': No such file or directory.
> mogrify: unable to open image `_legend.png': No such file or directory.
Could anyone tell me how to fix it? I did look at David's code but could'nt
troubleshoot the problem..
I am using Grass 6.0.1 on Ubuntu 6.06 LTS..
Thanks very much!
Vishal
www.people.cornell.edu/pages/vkm2
On Jan 4, 2008 8:23 PM, David Finlayson <david.p.finlayson at gmail.com> wrote:
> Here is a link to my web site with the latest version:
>
> http://david.p.finlayson.googlepages.com/grasstogoogleearth
>
> I have something that works for me, but I was forced to use image
> magick to clip the nodata collar off of the exported png file. If I
> can figure out how to get a one-to-one correspondence between raster
> cells and image pixels, I fix it again.
>
> David
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080106/18e11c36/attachment.html
More information about the grass-user
mailing list