[GRASSLIST:3924] Re: r.out.gdal

SWlab swlab at cornell.edu
Thu Jul 15 11:19:40 EDT 2004


Follow-up:

> > [Actually, I'd need to get the projection information saved into a
> > raster, and r.out.tiff -t doens't do what I wan't]

> Simplest way to get what you want is maybe r.out.tiff -t followed by
> gdal_translate -a_srs `g.proj -wf` grassoutput.tif gdaloutput.tif
> (run from within 5.7 to have g.proj working).

That' works nicely. You just have to remmber to quote the `g.proj -wf` (ie, 
use "`g.proj -wf`" or "$(g.proj -wf)".
Thanks again !




More information about the grass-user mailing list