[GRASSLIST:283] Re: r.out.gdal problem

Wolfgang Zillig wollez at gmx.net
Tue Mar 21 10:59:43 EST 2006


To make it clear, I have a georeferenced raster grafic. r.out.tiff 
works, and I can do successfully:

C:\Documents and Settings\s0167070>gdal_translate -of GTiff -co 
TILED=YES -co CO
MPRESS=JPEG -co JPEG_QUALITY=65 in.tif out.tif

(But I have to say that I also have FWTools installed on my computer, I 
haven't tried with cygwin)

Is it possible to export a raster file with the command given above? 
Grass always complains that I have to specify the "type", which I don't 
know.

Wolfgang


Patton, Eric schrieb:
> When you say graphic, do you mean a non-georeferenced image? I'm guessing,
> maybe r.out.gdal is only good for georeferenced images. Have you had any
> luck trying 'gdal_translate -of JPEG input output'?
>
> ~ Eric.
>  
> -----Original Message-----
> From: owner-GRASSLIST at baylor.edu
> To: grasslist-en
> Sent: 3/21/2006 10:18 AM
> Subject: [GRASSLIST:281] r.out.gdal problem
>
> Hello,
>
> I somehow don't completely understand the usage of r.out.gdal. I 
> prepared a graphic (which is an imported tiff) with r.composite. I can 
> export it with r.out.tiff without any problems. But how can I use 
> r.out.gdal to export it as JPEG (or GTiff with TILED=YES). I always fail
>
> to specify the correct option for the required "type". I already tried 
> every possibility which is listed (Byte, Int16,...), but without 
> success. What "type" do I have to use?
>
> Thanks
>
> Wolfgang
>
>
>   




More information about the grass-user mailing list